Commit 2b67f024 authored by Nathan Caldwell's avatar Nathan Caldwell Committed by Kevin Daudt

testing/mergerfs: cleanup APKBUILD

 - fix version generation
 - remove `mergerfs --version` test and disable checks
 - remove `cd "$builddir"`
 - remove default builddir

Closes GH-7978
parent 1829dbc4
......@@ -11,9 +11,9 @@ arch="all"
license="ISC"
depends="libattr fuse"
makedepends="autoconf automake libtool gettext-dev attr-dev linux-headers"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/trapexit/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
......@@ -21,19 +21,11 @@ prepare() {
}
build() {
cd "$builddir"
make OPTS="$CXXFLAGS" GIT=
}
check() {
cd "$builddir"/build
# Both --version and --help exists with 1...
./mergerfs --version | grep 'mergerfs version'
export GIT_CEILING_DIRECTORIES="$srcdir"
make OPTS="$CXXFLAGS"
}
package() {
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment