APKBUILD 1.04 KB
Newer Older
1 2
# Contributor: Nathan Caldwell <saintdev@gmail.com>
# Maintainer: Nathan Caldwell <saintdev@gmail.com>
3 4
# NOTE: For now we must use vendored libfuse, see the URL below for details.
#       https://github.com/trapexit/mergerfs/blob/2.27.0/README.md#why-was-libfuse-embedded-into-mergerfs
5
pkgname=mergerfs
Leo's avatar
Leo committed
6
pkgver=2.29.0
7 8 9 10 11 12
pkgrel=0
pkgdesc="A FUSE based union filesystem"
url="https://github.com/trapexit/mergerfs"
arch="all"
license="ISC"
depends="libattr fuse"
13
makedepends="autoconf automake libtool gettext-dev attr-dev linux-headers"
Leo's avatar
Leo committed
14
options="suid !check" # No test suite
15
subpackages="$pkgname-doc"
Leo's avatar
Leo committed
16
source="$pkgname-$pkgver.tar.gz::https://github.com/trapexit/mergerfs/archive/$pkgver.tar.gz"
17

18 19 20 21 22
prepare() {
	default_prepare
	echo "$pkgver" > "$builddir"/VERSION
}

23
build() {
24 25
	export GIT_CEILING_DIRECTORIES="$srcdir"
	make OPTS="$CXXFLAGS"
26 27 28
}

package() {
29
	make PREFIX="/usr" DESTDIR="$pkgdir" install
30 31
}

Leo's avatar
Leo committed
32
sha512sums="2c21dedffc2f261c6c8427af59cffcacacc9b67bce7bb9989bd5946aa645c68bac0f56250ec19710e586a00892f7198853390bea3ff5981035d5a492ae4569a2  mergerfs-2.29.0.tar.gz"