APKBUILD 793 Bytes
Newer Older
dai9ah's avatar
dai9ah committed
1 2 3 4 5 6 7 8 9 10
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=bfs
pkgver=1.2.1
pkgrel=0
pkgdesc="Breadth-first variant of the UNIX find command"
url="https://github.com/tavianator/bfs"
arch="all"
license="0BSD"
makedepends="linux-headers"
11
checkdepends="bash coreutils diffutils"
dai9ah's avatar
dai9ah committed
12
subpackages="$pkgname-doc"
13
options="!checkroot"
dai9ah's avatar
dai9ah committed
14 15 16 17 18 19 20 21
source="$pkgname-$pkgver.tar.gz::https://github.com/tavianator/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make -C "$builddir"
}

check() {
22
	make -C "$builddir" check
dai9ah's avatar
dai9ah committed
23 24 25 26 27 28 29
}

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

sha512sums="4c976af1f01a52537fb9b5f0df4eec119382c384a342062e7c2cc8d9b6298d7c74bd60545fad2099fe32211dd856790b3bd149843cab7cd59e3f2a0fb8cfac3e  bfs-1.2.1.tar.gz"