aboutsummaryrefslogtreecommitdiffstats
path: root/community/bfs/APKBUILD
blob: 4063bcbc706cf031da3ad80c4d9ac1fadc19718c (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
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=bfs
pkgver=2.2
pkgrel=0
pkgdesc="Breadth-first variant of the UNIX find command"
url="https://github.com/tavianator/bfs"
arch="all"
license="0BSD"
makedepends="acl-dev libcap-dev linux-headers attr-dev"
checkdepends="bash acl"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="bfs-$pkgver.tar.gz::https://github.com/tavianator/bfs/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	TEST_FLAGS="--verbose" make check
}

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

sha512sums="da4ac71f96a3f5f3ba3dd31bffb861e781d68b8466ce77a5b72cbdab87f685882fc648de47a4ad3a38e322008a6c54d09c2b03b5ea5423a390a5f3116789b72e  bfs-2.2.tar.gz"