aboutsummaryrefslogtreecommitdiffstats
path: root/testing/archivemount/APKBUILD
blob: dbb08a57c176dcd7a75cf96f625eed8bdc5c46cd (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
43
44
45
46
47
48
49
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=archivemount
pkgver=0.8.3
pkgrel=0
pkgdesc="FUSE based filesystem for mounting compressed archives"
url="http://www.cybernoia.de/software/archivemount/"
arch="all"
license="LGPLv2+"
depends=""
depends_dev=""
makedepends="$depends_dev fuse-dev libarchive-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.cybernoia.de/software/archivemount/archivemount-$pkgver.tar.gz"

_builddir="$srcdir"/archivemount-$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"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="a8c890e3fc315b07c7e85ad73a4b4760  archivemount-0.8.3.tar.gz"
sha256sums="e78899a8b7c9cb43fa4526d08c54a9e171475c00bf095770b8779a33e37661ff  archivemount-0.8.3.tar.gz"
sha512sums="f0d50cdce44a0ee57f0d3a32cb37af4159a7400e47a8c61360c9c0c1be6fdbe98d2aa1cc530b3a71fe70e4f550ea5ed431204d738931dca757135677e1984733  archivemount-0.8.3.tar.gz"