aboutsummaryrefslogtreecommitdiffstats
path: root/community/bfs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bfs/APKBUILD')
-rw-r--r--community/bfs/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/bfs/APKBUILD b/community/bfs/APKBUILD
new file mode 100644
index 0000000000..401f1f1782
--- /dev/null
+++ b/community/bfs/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: dai9ah <dai9ah@protonmail.com>
+# Maintainer: dai9ah <dai9ah@protonmail.com>
+pkgname=bfs
+pkgver=2.2.1
+pkgrel=0
+pkgdesc="Breadth-first variant of the UNIX find command"
+url="https://github.com/tavianator/bfs"
+arch="all"
+license="0BSD"
+makedepends="acl-dev libcap-dev linux-headers attr-dev"
+checkdepends="bash acl"
+subpackages="$pkgname-doc $pkgname-bash-completion"
+source="bfs-$pkgver.tar.gz::https://github.com/tavianator/bfs/archive/$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+check() {
+ TEST_FLAGS="--verbose" make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+6203e23affbd0644f4f5cdd9c3e659fa319e9c93187e6e8684cac893f6fa6d943a815038e7c10c96b975285f8112a6b17b79794f679e8ece9442244ca8b83f24 bfs-2.2.1.tar.gz
+"