summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredfish2020-06-13 20:25:40 -0400
committerredfish2020-06-13 20:25:40 -0400
commita3f292e8ee9676eac13de63cdc97ffb4c8d16626 (patch)
treec84e7103f2005c5c9cfedc0f8da36b296acce82c
parent5f12f86af6352675a9ed39f4d4777ee7f909916c (diff)
downloadaur-ssb-server.tar.gz
16.0.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
2 files changed, 9 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03af810577d..ae1fef14aa3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ssb-server
pkgdesc = The gossip and replication server for Secure Scuttlebutt - a distributed social network
- pkgver = 15.2.0
+ pkgver = 16.0.1
pkgrel = 2
url = https://scuttlebut.io
arch = any
@@ -8,10 +8,8 @@ pkgbase = ssb-server
depends = nodejs
depends = npm
options = !strip
- source = https://github.com/ssbc/ssb-server/archive/v15.2.0.tar.gz
- source = sodium-native.patch
- sha256sums = b5c8ae6c87035e70b1e7031ce396e132665bbcb93206f94b910519db2764c138
- sha256sums = 6c11a25664a5cd723ba27da52bfb32fa85c8eb017a697b56dea63da1aba051df
+ source = https://github.com/ssbc/ssb-server/archive/v16.0.1.tar.gz
+ sha256sums = 8a5679f767ea379dca80fc33d6234fa5085e29455cdfad391ea4f7742830e428
pkgname = ssb-server
diff --git a/PKGBUILD b/PKGBUILD
index adcc8a71506..c070d4e5bc9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,26 @@
# Maintainer: redfish <redfish@galactica.pw>
pkgname=ssb-server
-pkgver=15.2.0
+pkgver=16.0.1
pkgrel=2
pkgdesc="The gossip and replication server for Secure Scuttlebutt - a distributed social network"
arch=(any)
url="https://scuttlebut.io"
license=('MIT')
depends=('nodejs' 'npm')
-source=(https://github.com/ssbc/ssb-server/archive/v$pkgver.tar.gz
- sodium-native.patch)
+source=(https://github.com/ssbc/ssb-server/archive/v$pkgver.tar.gz)
options=(!strip)
prepare(){
cd "$srcdir"
- pushd "$pkgname-$pkgver"
- # sodium-native 2.4.2 fails to build with nodejs 14.2.0, so bump to 2.4.9
- patch -p1 < ../sodium-native.patch
- popd
# rapackage after patching, because we have to install from tarball
- tar czf v$pkgver.patched.tar.gz "$pkgname-$pkgver/"
+ #tar czf v$pkgver.patched.tar.gz "$pkgname-$pkgver/"
}
package(){
- npm install -g --user root --prefix "${pkgdir}/usr" "$srcdir/v${pkgver}.patched.tar.gz"
+ # if patching in prepare(), then change to .patched.tar.gz
+ npm install -g --user root --prefix "${pkgdir}/usr" "$srcdir/v${pkgver}.tar.gz"
}
-sha256sums=('b5c8ae6c87035e70b1e7031ce396e132665bbcb93206f94b910519db2764c138'
- '6c11a25664a5cd723ba27da52bfb32fa85c8eb017a697b56dea63da1aba051df')
+sha256sums=('8a5679f767ea379dca80fc33d6234fa5085e29455cdfad391ea4f7742830e428')