summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moch2019-10-12 06:31:58 -0400
committerDaniel Moch2019-10-12 06:31:58 -0400
commitf4714e3881cf39f3a0d3ba4a75d71ddcdcf4f6b0 (patch)
treeb989ff9a5819a4bd2d9046de61992ecd3e5d7e94
parent19f26fd599280c39c45d1828dd0c841268efbb49 (diff)
downloadaur-f4714e3881cf39f3a0d3ba4a75d71ddcdcf4f6b0.tar.gz
upgpkg: mastodon 3.0.1-1
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD17
3 files changed, 13 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e93e7ef9a72..a24cb1a33922 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sat Apr 13 17:30:44 UTC 2019
pkgbase = mastodon
pkgdesc = Self-hosted social media and network server based on ActivityPub and OStatus
- pkgver = 2.8.0
+ pkgver = 3.0.1
pkgrel = 1
url = https://joinmastodon.org
install = mastodon.install
@@ -22,18 +20,15 @@ pkgbase = mastodon
depends = ruby-bundler
depends = protobuf
depends = yarn
- conflicts = mastodon-git
+ depends = zlib
backup = etc/mastodon.conf
- source = https://github.com/tootsuite/mastodon/archive/v2.8.0.tar.gz
- source = https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.xz
+ source = https://github.com/tootsuite/mastodon/archive/v3.0.1.tar.gz
source = mastodon.target
source = mastodon.sysusers.d
source = mastodon.tmpfiles.d
- sha512sums = 247e5b8402b77d128fd990e251686237188305084c1893d77cdad20f265ce49750b1c2a10c9a40549d80406c37c4e515c763933ea01fb09f4e51d0a54965b6b0
- sha512sums = 1348147885ecaa6c25a0e97a47f79ca5e44f1a0829d3cb0ebecf9db0be4a89f23c3b16fa572c4d0b5f5d0b2624a7b66ebd912ff12144fc5469f2f342124190c2
+ sha512sums = d4a971551683982fffb276738abf25b3b1a81ad81f574232f25116e23221832ce0cc19d83902b5e6b1953be1dc63be0aeff1e634a23ee6d0b3113f36a9b28d2a
sha512sums = c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
sha512sums = 73493680845e690d0cfd769fbbe68978c0a615602375078aea945ca1f1011404eb4b64972aec7a6e5efa720fb425d91b3f30025391c38ccf77e070ccb391e710
pkgname = mastodon
-
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..924dfb95c209
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index d230d0d58155..bd5f1bec8e41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
-# Maintainer: Jean Lucas <jean@4ray.co>
+# Maintainer: Daniel Moch <daniel@danielmoch.com>
+# Contributor: Jean Lucas <jean@4ray.co>
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
pkgname=mastodon
-pkgver=2.8.0
-_node=10.15.3
+pkgver=3.0.1
pkgrel=1
pkgdesc='Self-hosted social media and network server based on ActivityPub and OStatus'
arch=(x86_64)
@@ -21,18 +21,16 @@ depends=(ffmpeg
redis
ruby-bundler
protobuf
- yarn)
+ yarn
+ zlib)
makedepends=(npm)
-conflicts=(mastodon-git)
backup=(etc/mastodon.conf)
install=mastodon.install
source=(https://github.com/tootsuite/mastodon/archive/v$pkgver.tar.gz
- https://nodejs.org/dist/v$_node/node-v$_node-linux-x64.tar.xz
mastodon.target
mastodon.sysusers.d
mastodon.tmpfiles.d)
-sha512sums=('247e5b8402b77d128fd990e251686237188305084c1893d77cdad20f265ce49750b1c2a10c9a40549d80406c37c4e515c763933ea01fb09f4e51d0a54965b6b0'
- '1348147885ecaa6c25a0e97a47f79ca5e44f1a0829d3cb0ebecf9db0be4a89f23c3b16fa572c4d0b5f5d0b2624a7b66ebd912ff12144fc5469f2f342124190c2'
+sha512sums=('d4a971551683982fffb276738abf25b3b1a81ad81f574232f25116e23221832ce0cc19d83902b5e6b1953be1dc63be0aeff1e634a23ee6d0b3113f36a9b28d2a'
'c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb'
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
'73493680845e690d0cfd769fbbe68978c0a615602375078aea945ca1f1011404eb4b64972aec7a6e5efa720fb425d91b3f30025391c38ccf77e070ccb391e710')
@@ -63,9 +61,6 @@ package() {
touch "$pkgdir"/etc/mastodon.conf
ln -s /etc/mastodon.conf "$pkgdir"/var/lib/mastodon/.env.production
- # Add stable Node binary for use with mastodon-streaming
- cp node-v$_node-linux-x64/bin/node "$pkgdir"/var/lib/mastodon
-
install -Dm 644 mastodon.target -t "$pkgdir"/usr/lib/systemd/system
install -Dm 644 mastodon.sysusers.d "$pkgdir"/usr/lib/sysusers.d/mastodon.conf
install -Dm 644 mastodon.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/mastodon.conf