aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mergerfs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mergerfs/APKBUILD')
-rw-r--r--testing/mergerfs/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/testing/mergerfs/APKBUILD b/testing/mergerfs/APKBUILD
index fa93af28ab..f06038059d 100644
--- a/testing/mergerfs/APKBUILD
+++ b/testing/mergerfs/APKBUILD
@@ -8,22 +8,26 @@ url="https://github.com/trapexit/mergerfs"
arch="all"
license="ISC"
depends="libattr fuse"
-depends_dev="attr-dev fuse-dev linux-headers"
-makedepends="$depends_dev autoconf automake libtool gettext-dev"
-install=""
+makedepends="autoconf automake libtool gettext-dev attr-dev fuse-dev linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/trapexit/$pkgname/archive/$pkgver.tar.gz"
-
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- make OPTS="$CXXFLAGS" || return 1
+ make OPTS="$CXXFLAGS"
+}
+
+check() {
+ cd "$builddir"
+
+ # Both --version and --help exists with 1...
+ ./mergerfs --version | grep 'mergerfs version'
}
package() {
cd "$builddir"
- make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="46f8c083333370a19f5f8b11e016456140b2cd32f5fe8dec344b09f89738305a8a5cfe94cc04943ba827fad4b82a2569e63ec771252501a1cf2e7928ba7e2b82 mergerfs-2.23.0.tar.gz"