diff options
author | redfish | 2020-06-13 20:25:40 -0400 |
---|---|---|
committer | redfish | 2020-06-13 20:25:40 -0400 |
commit | a3f292e8ee9676eac13de63cdc97ffb4c8d16626 (patch) | |
tree | c84e7103f2005c5c9cfedc0f8da36b296acce82c /PKGBUILD | |
parent | 5f12f86af6352675a9ed39f4d4777ee7f909916c (diff) | |
download | aur-a3f292e8ee9676eac13de63cdc97ffb4c8d16626.tar.gz |
16.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -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') |