aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-05-24 23:43:20 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-24 20:56:15 +0000
commitc8ea81371547a617d576896c73c6fa9a581f891f (patch)
treed33639de7d5f88990a4c11d408ee8c62066153dc
parent84a2435611a688b54c0b0319cbdb488c73850edc (diff)
downloadaports-c8ea81371547a617d576896c73c6fa9a581f891f.tar.gz
aports-c8ea81371547a617d576896c73c6fa9a581f891f.tar.bz2
aports-c8ea81371547a617d576896c73c6fa9a581f891f.tar.xz
testing/btfs: upgrade to 2.21, modernize
-rw-r--r--testing/btfs/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/btfs/APKBUILD b/testing/btfs/APKBUILD
index 8aded0ac4c..79f4b9eea0 100644
--- a/testing/btfs/APKBUILD
+++ b/testing/btfs/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=btfs
-pkgver=2.20
+pkgver=2.21
pkgrel=0
pkgdesc="Bittorrent filesystem based on FUSE"
options="!check" # No testsuite
@@ -11,7 +11,7 @@ license="GPL-3.0-or-later"
depends="python3"
makedepends="autoconf automake curl-dev fuse-dev libtorrent-rasterbar-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/johang/btfs/archive/v$pkgver.tar.gz"
+source="btfs-$pkgver.tar.gz::https://github.com/johang/btfs/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
@@ -20,13 +20,17 @@ prepare() {
build() {
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
make
}
package() {
- make DESTDIR="$pkgdir" -C "$builddir" install
+ make DESTDIR="$pkgdir" install
}
-sha512sums="6a0e0abbe07329daf810fddf2557892ec69659a381c445f7a3ada4a69e422c371d587623a9cb5f079f0738d00fca579af56f37036a2ba8060891d167fa9bb947 btfs-2.20.tar.gz"
+sha512sums="ebef8820d71244d092f64c5d6970bd69fed9044c01f11a505536d265b8d57b34b94e63b5262950ef54d41c6d9dbaa4b301a827ce5fdd205f8dcb6b67765b6f4d btfs-2.21.tar.gz"