summaryrefslogtreecommitdiff
path: root/archivemount/PKGBUILD
blob: 952b476a6cd1a9eb254af63137445e1bfe04918c (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.10
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=('85019bf5f79267f9df4b32e746ff61f112be59f842f36401c8e2013f7ad2c4d1cdd2d72afc356d24304c1772a7f974b9612b5f9fb5c8614aed8ee2467823e7c1')
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"
}