aports/testing/bfs/APKBUILD
2018-09-26 17:21:57 +00:00

33 lines
771 B
Plaintext

# 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"