aboutsummaryrefslogtreecommitdiffstats
path: root/community/fuse-overlayfs/APKBUILD
blob: d3494012cf979f73aedaa9f90cbf90ae97e0160a (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.7
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="
c9be4b3459bd58b6f1a42cfcb4f95f5552eb0a2546f0c7e1822109f9bc1449876eebbd8457ec90b7e8696c9eb2ae129d16678a2e9f3cc82abe5b6a7b1eff45eb  fuse-overlayfs-1.7.tar.gz
57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771  modules-load.conf
"