mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/bfs: new aport
This commit is contained in:
parent
99a2a25fa6
commit
5596684b3f
28
testing/bfs/APKBUILD
Normal file
28
testing/bfs/APKBUILD
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user