# Contributor: Nicolas Lorin # Maintainer: Bradley Saulteaux pkgname=bees pkgver=0.8 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 bash util-linux-misc" makedepends="btrfs-progs-dev util-linux-dev" subpackages="$pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/Zygo/bees/archive/v$pkgver.tar.gz no-werror.patch 10-pthread_getname1.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=" 92208ee186de18e764fab42f3de4e518047a21f4ed2429040a706fe7a45e0b2d39d1e468beefc92553659fc4587f4894a33d5a26bfd59278923208db3acc7da0 bees-0.8.tar.gz 1e9de7b991db9614993d734e63649d8d5803b02423bba41370fdcc7094e6384017fe8a3b5d8f3b3beb86ca5dab33c2b05b0acf77e7eb0825944e176d10c5b15b no-werror.patch 877a90b0be60357ba4778f30a89003270b93af8cc5995e2df3fb58147733a39e972129f693ce9239e8987c589f3c43384774c3baecd042e88abdb2b07d1ce2ef 10-pthread_getname1.patch 093bc4c9604a0b28b39069e447d83800c91d0974fe4618ce5e5063e5c816b2d63c1b633710c592d76e8f6367d696283d6fa4a3a9561b09ce62fa28cabf8e55d0 bees.initd "