aboutsummaryrefslogtreecommitdiffstats
path: root/main/avfs/APKBUILD
blob: a84b931f8b021d4594ddf4cd645425e389a234ad (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
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
pkgver=1.1.1
pkgrel=0
pkgdesc="A Virtual File System for looking into archives"
url="http://avf.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
depends="bash"
makedepends="zlib-dev bzip2-dev fuse-dev zstd-dev xz-dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-fuse \
		--enable-library \
		--with-system-zlib \
		--with-system-bzlib \
		--with-xz \
		--with-zstd \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="0707f8e746d8d3633755b1a1efb944a400c095b517a7befd75de4d25e2fad1a1b5132b9cf94285b05ad1344bfc138ec75e9cb5f8a5d7775a69595b9b35266f92  avfs-1.1.1.tar.bz2"