Patches for aports can be sent to this list

[alpine-aports] testing/mergerfs: new aport

Xavier Garcia
Details
Message ID
<CAPipkoqf1JFToRz-3H0bbcn+Q_n4eZ0WXvgXDK_S21QvLMgbVg@mail.gmail.com>
Sender timestamp
1464974640
DKIM signature
missing
Download raw message
# Contributor: Xavier Garcia <alpine@xnaove.com>
# Maintainer:
pkgname=mergerfs
pkgver=2.13.1
pkgrel=0
pkgdesc="mergerfs is a union filesystem. It is similar to mhddfs, unionfs
and aufs."
url="https://github.com/trapexit/mergerfs"
arch="all"
license="ISC"
depends="fuse"
depends_dev="gcc attr-dev fuse-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="
https://github.com/trapexit/mergerfs/releases/download/$pkgver/mergerfs-$pkgver.tar.gz
"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

build() {
        cd "$_builddir"
        make || return 1
}

package() {
        cd "$_builddir"
        make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1
}

md5sums="9395ff637a76ebf8258d037cb3a771c0  mergerfs-2.13.1.tar.gz"
sha256sums="d09054d504fcd277ea5d0b6c372e2fa4ac7dacf59e9c50a209ac647fc7ceab6c
mergerfs-2.13.1.tar.gz"
sha512sums="b739772eb23252a59b381c9e1b87c043163cf847c704d6f525226fec63db0f7f8afc2770e4d9138fd120b2fadfe3b5ac643d89bcf02593deb253ed25dba79394
mergerfs-2.13.1.tar.gz"