aboutsummaryrefslogtreecommitdiffstats
path: root/community/fuse-overlayfs/APKBUILD
blob: b6b09895e756f7459baa9b86f4ecb149ee3fd41f (plain) (blame)
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
43
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=fuse-overlayfs
pkgver=1.6
pkgrel=0
pkgdesc="FUSE implementation for overlayfs"
url="https://github.com/containers/fuse-overlayfs"
license="GPL-3.0-or-later"
arch="all"
depends="fuse3"
makedepends="linux-headers fuse3-dev autoconf automake"
subpackages="$pkgname-doc"
source="https://github.com/containers/fuse-overlayfs/archive/v$pkgver/fuse-overlayfs-$pkgver.tar.gz
	modules-load.conf
	"

prepare() {
	default_prepare
	autoreconf -fis
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 "$srcdir"/modules-load.conf "$pkgdir"/usr/lib/modules-load.d/fuse-overlayfs.conf
}

sha512sums="
ed4a555b93be89bf95fdff9672915e78787df313ecd00663bb92616afb9516a9ea90443a16433771667b992217ed6d65d2181ec9489642e7865b48a636895170  fuse-overlayfs-1.6.tar.gz
57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771  modules-load.conf
"