aboutsummaryrefslogtreecommitdiffstats
path: root/main/unionfs-fuse/APKBUILD
blob: a4accd46df16bebb4557e01e0fd54c788f690d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=unionfs-fuse
pkgver=1.0
pkgrel=0
pkgdesc="Union Filesystem in Userspace"
url="http://podgorny.cz/moin/UnionFsFuse"
arch="all"
license="BSD"
depends=""
makedepends="fuse-dev linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/unionfs-fuse/archive/v${pkgver}.tar.gz
	0001-include-asm-ioctl.h-for-_IOC_SIZE.patch"

_builddir="${srcdir}"/$pkgname-$pkgver

prepare() {
        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"
	mkdir -p "$pkgdir"/usr/share/man/man8/
	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}

md5sums="598590fb452129c413572ed79824c68a  unionfs-fuse-1.0.tar.gz
437f961b03f7f6936448586b9ff8b7de  0001-include-asm-ioctl.h-for-_IOC_SIZE.patch"
sha256sums="2ee80bd0634a61adb2159212e155d607a0a82ad659214ae6edb3530396cccc09  unionfs-fuse-1.0.tar.gz
c8526f80448f344fba0100e5510793b6de985b24a8b526d9a6803bcd713d9de2  0001-include-asm-ioctl.h-for-_IOC_SIZE.patch"
sha512sums="805151acaeae8526fba430701a1690f6eb0ad8331a9e730095ee538dc2b148d02fe996a63e8a7f6471d1ef622cc5c03d82bd2b2faad1ebe3b614ec343c2f55de  unionfs-fuse-1.0.tar.gz
fa8d87a33c6971fff13545766c803cbe6960db068edd6e1f6479d76e17f60fce1b6e67a6045878a2f2cffbe9aa3064522f2e88e395d7713627ea12f24a02e346  0001-include-asm-ioctl.h-for-_IOC_SIZE.patch"