summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 6 insertions, 11 deletions
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')