aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bfs/APKBUILD
blob: 2513cf3bce436f12a6699f56e6db14feaf5926d8 (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=bfs
pkgver=1.2.4
pkgrel=0
pkgdesc="Breadth-first variant of the UNIX find command"
url="https://github.com/tavianator/bfs"
arch="all"
license="0BSD"
makedepends="linux-headers"
checkdepends="bash"
subpackages="$pkgname-doc"
options="!checkroot"
source="$pkgname-$pkgver.tar.gz::https://github.com/tavianator/bfs/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="223a09a2896bceafb1c13240156d22de7e822de8c28e7301a60a5285d1128365e42282ff8e3642046e2d0e7d501e14fc0e15b3ae2539c1da57465322ff436556  bfs-1.2.4.tar.gz"