summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a24cb1a..a1e8736 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mastodon
pkgdesc = Self-hosted social media and network server based on ActivityPub and OStatus
pkgver = 3.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://joinmastodon.org
install = mastodon.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index bd5f1be..a296c47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mastodon
pkgver=3.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='Self-hosted social media and network server based on ActivityPub and OStatus'
arch=(x86_64)
url=https://joinmastodon.org
@@ -60,6 +60,7 @@ package() {
# Put the config file in /etc and link to it
touch "$pkgdir"/etc/mastodon.conf
ln -s /etc/mastodon.conf "$pkgdir"/var/lib/mastodon/.env.production
+ ln -s /usr/bin/node "$pkgdir"/var/lib/mastodon/node
install -Dm 644 mastodon.target -t "$pkgdir"/usr/lib/systemd/system
install -Dm 644 mastodon.sysusers.d "$pkgdir"/usr/lib/sysusers.d/mastodon.conf