diff options
author | dai9ah <dai9ah@protonmail.com> | 2018-02-10 22:51:53 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-05 11:55:31 +0000 |
commit | 89b03a46de2b60f36e101fbdf0e211ccf7dc25ae (patch) | |
tree | eb7c84bce8a217f90e6facb5eb92a43ca50c4edc /testing | |
parent | 5596684b3f842ccf2051e5f42a37559e799dbe6a (diff) | |
download | aports-89b03a46de2b60f36e101fbdf0e211ccf7dc25ae.tar.bz2 aports-89b03a46de2b60f36e101fbdf0e211ccf7dc25ae.tar.xz |
testing/btfs: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/btfs/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <dai9ah@protonmail.com> +# Maintainer: dai9ah <dai9ah@protonmail.com> +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" |