summaryrefslogtreecommitdiff
path: root/archivemount/PKGBUILD
blob: a5c8badfd96837818f0a11cb3db57042e54f7928 (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
# Maintainer:  Erich Eckner <arch at eckner dot net>
# Contributor: Janne Heß <jannehess@gmail.com>

pkgname=archivemount
pkgver=0.8.9
pkgrel=1
pkgdesc="FUSE filesystem using libarchive"
url="http://www.cybernoia.de/software/archivemount/"
license=("GPL2")
depends=("fuse" "libarchive")
makedepends=("automake" "autoconf")
conflicts=("archivemount-git")
source=("http://www.cybernoia.de/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('5cbdb162662d05117a66edf952425ce2fa7b9dc8a68ba754572e5a5c5dff66a92d01045b3eedb8d759dab0a0f4bca5e12fce77d469c4e8204b17401a44cd8ab8')
arch=("i686" "x86_64")

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	aclocal
	autoheader
	automake
	autoconf
	./configure
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
	make PREFIX="/usr" DESTDIR="${pkgdir}/" install-man
	mv "${pkgdir}/usr/local/share" "${pkgdir}/usr"
	rmdir "${pkgdir}/usr/local"
}