diff options
author | dai9ah <dai9ah@protonmail.com> | 2018-02-09 23:12:00 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-05 11:54:21 +0000 |
commit | 5596684b3f842ccf2051e5f42a37559e799dbe6a (patch) | |
tree | 7ac7b3b9556484f898224d9eda7c314c7752c782 /testing/bfs | |
parent | 99a2a25fa607e5410447cc11fcbf7cd584dd926e (diff) | |
download | aports-5596684b3f842ccf2051e5f42a37559e799dbe6a.tar.bz2 aports-5596684b3f842ccf2051e5f42a37559e799dbe6a.tar.xz |
testing/bfs: new aport
Diffstat (limited to 'testing/bfs')
-rw-r--r-- | testing/bfs/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/bfs/APKBUILD b/testing/bfs/APKBUILD new file mode 100644 index 0000000000..2aed4a9ede --- /dev/null +++ b/testing/bfs/APKBUILD @@ -0,0 +1,28 @@ +# 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" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/tavianator/$pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + make -C "$builddir" +} + +check() { + cd "$builddir" + ./bfs -nohidden > /dev/null +} + +package() { + make DESTDIR="$pkgdir" -C "$builddir" install +} + +sha512sums="4c976af1f01a52537fb9b5f0df4eec119382c384a342062e7c2cc8d9b6298d7c74bd60545fad2099fe32211dd856790b3bd149843cab7cd59e3f2a0fb8cfac3e bfs-1.2.1.tar.gz" |