From 89b03a46de2b60f36e101fbdf0e211ccf7dc25ae Mon Sep 17 00:00:00 2001 From: dai9ah Date: Sat, 10 Feb 2018 22:51:53 +0200 Subject: testing/btfs: new aport --- testing/btfs/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/btfs/APKBUILD (limited to 'testing') diff --git a/testing/btfs/APKBUILD b/testing/btfs/APKBUILD new file mode 100644 index 0000000000..cd1f6891ab --- /dev/null +++ b/testing/btfs/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: dai9ah +# Maintainer: dai9ah +pkgname=btfs +pkgver=2.18 +pkgrel=0 +pkgdesc="Bittorrent filesystem based on FUSE" +url="https://github.com/johang/btfs" +arch="all" +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/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + autoreconf -vfi + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + make -C src +} + +check() { + cd "$builddir/src" + ./btfs --help > /dev/null +} + +package() { + make DESTDIR="$pkgdir" -C "$builddir" install +} + +sha512sums="d29f3816527c1eed105b45da559d025d61c8652144358227ed0ca3e516582cd8186fdcdf730b19fde6e7e9db1477690237444d2efe7c740f81f91032f1a12f86 btfs-2.18.tar.gz" -- cgit v1.2.3