aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bees/APKBUILD
blob: 2824433514040c42ff29da932a655b83a60e2454 (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
33
34
35
36
# Maintainer: Bradley Saulteaux <bradsoto@gmail.com>
pkgname=bees
pkgver=0.6.1
pkgrel=1
pkgdesc="Best-Effort Extent-Same, a btrfs dedup agent"
url="https://github.com/Zygo/bees"
arch="all"
license="GPL-3.0-or-later"
depends="btrfs-progs"
makedepends="btrfs-progs-dev util-linux-dev"
install=""
subpackages="$pkgname-openrc"
source="${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz
	10-pthread_getname1.patch
	ppc64le_fix_min_compare.patch
	bees.initd"

build() {
	make all
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	mv bin "$pkgdir"/
	install -m755 -D "$srcdir"/$pkgname.initd \
		"$pkgdir"/etc/init.d/$pkgname
}

sha512sums="cd44d21959d3ab4dda255f0a4a57bd3aeecfb9fee6ea26d68a1b5f84d407f75bd0b442ecf4fefc5ac856dcd9af035f44ceeff77a8926b164f97a15350efcee33  bees-0.6.1.tar.gz
50c9cc16f094a0a69f31cf6e42601b9114344ea23a1455d6b5a3f18829ad03426ebdc37187af747bb74f51f75866c3a6da8805d0537af8e729a2f53819d52efb  10-pthread_getname1.patch
2e13a670184d71b64e04450adb182d0a6e842e1a7d561882e0a07ae4ea7a9ed15a3fcce03f61c5412eabdb2fadf559f221e21ffd10440c4b8b700f3eab02aab4  ppc64le_fix_min_compare.patch
093bc4c9604a0b28b39069e447d83800c91d0974fe4618ce5e5063e5c816b2d63c1b633710c592d76e8f6367d696283d6fa4a3a9561b09ce62fa28cabf8e55d0  bees.initd"