aboutsummaryrefslogtreecommitdiffstats
path: root/testing/btfs/APKBUILD
blob: 0db302a315837a288deb39dc3916252eb5e4f56d (plain) (blame)
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
33
34
35
36
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=btfs
pkgver=2.23
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="btfs-$pkgver.tar.gz::https://github.com/johang/btfs/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vfi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="f911b334367e619621677793342fe36247dc63a8bff6fcab65f0b64e1645bab2ede261a7e7c03c76e18ad75b9b485d8c422e99ffcbd6069ceeb5b5e590bf5f63  btfs-2.23.tar.gz"