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
6
pkgver=2.28.3
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"
14
options="!check" # No test suite
15
subpackages="$pkgname-doc"
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
}

32
sha512sums="5469b3515464680aa72fc393c218fb038bed31194a933e6736eec478d87a110979323308b642d7f100a5c506534ca75badf4a87a050007cdc77cd2a641217929  mergerfs-2.28.3.tar.gz"