From 6f53e473b58ea8419c1594ec8303c859c9d7e1dd Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 22 Apr 2019 00:16:44 -0300 Subject: testing/fcount: new aport --- testing/fcount/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/fcount/APKBUILD diff --git a/testing/fcount/APKBUILD b/testing/fcount/APKBUILD new file mode 100644 index 0000000000..68b0d155d4 --- /dev/null +++ b/testing/fcount/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Leo +pkgname=fcount +pkgver=0.3 +pkgrel=0 +pkgdesc="Counts the number of files within a directory" +url="http://git.z3bra.org/fcount/log.html" +arch="all" +license="WTFPL" +source="http://dl.z3bra.org/releases/${pkgname}-${pkgver}.tar.bz2" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + make +} + +check() { + ./fcount +} + +package() { + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +sha512sums="0f9e400d9e9e8f9442dcee74f606c56c7b4be48dd3491bf7a78e344b868be96da964d41333cd4b65c66a75580cd414feb0fc11459fab306e68b7c403586e5289 fcount-0.3.tar.bz2" -- cgit v1.2.3