aboutsummaryrefslogtreecommitdiffstats
path: root/testing/btfs/APKBUILD
blob: 8aded0ac4cf46cf775aafd0d8db484cac4b411ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=btfs
pkgver=2.20
pkgrel=0
pkgdesc="Bittorrent filesystem based on FUSE"
options="!check" # No testsuite
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/btfs/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vfi
}

build() {
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" -C "$builddir" install
}

sha512sums="6a0e0abbe07329daf810fddf2557892ec69659a381c445f7a3ada4a69e422c371d587623a9cb5f079f0738d00fca579af56f37036a2ba8060891d167fa9bb947  btfs-2.20.tar.gz"