Commit 0178d99e authored by Jakub Jirutka's avatar Jakub Jirutka

testing/mergerfs: improve abuild

parent d966a9dd
......@@ -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"
# Contributor: Nathan Caldwell <saintdev@gmail.com>
# Maintainer: Nathan Caldwell <saintdev@gmail.com>
pkgname=mergerfs
pkgver=2.23.1
pkgrel=0
pkgdesc="A FUSE based union filesystem"
url="https://github.com/trapexit/mergerfs"
arch="all"
license="ISC"
depends="libattr fuse"
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"
build() {
cd "$builddir"
make OPTS="$CXXFLAGS"
}
package() {
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="1f2ecb162bd2aee390d5067a888f38c0b7137022f7447b93ff2b743d759b815408f6f09e68bcf240e5274d6c872b9a8c9cbe48b5e11538ae0af02713a4f66745 mergerfs-2.23.1.tar.gz"
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