summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..03477c4952f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Janne Heß <jannehess@gmail.com>
+
+pkgname=archivemount-git
+pkgver=0.8.7.gbb2faa8
+pkgrel=1
+pkgdesc="FUSE filesystem using libarchive"
+url="http://www.cybernoi.de/software/${pkgname%-git}/"
+license=("GPL2")
+depends=("fuse" "libarchive")
+makedepends=("automake" "autoconf" "make")
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git+http://www.cybernoia.de/software/${pkgname%-git}/git")
+sha512sums=('SKIP')
+arch=("i686" "x86_64")
+
+pkgver() {
+ cd git
+ git describe --tags --always | sed 's/-[[:digit:]]*-/./g'
+}
+
+build() {
+ cd git
+ aclocal
+ autoheader
+ automake --add-missing
+ autoconf
+ ./configure
+ make
+}
+
+package() {
+ cd "git"
+ install -Dm755 "${pkgname%-git}" "${pkgdir}/usr/bin/${pkgname%-git}"
+ make PREFIX="/usr" DESTDIR="${pkgdir}/" install-man
+ mv "${pkgdir}/usr/local/share" "${pkgdir}/usr"
+ rmdir "${pkgdir}/usr/local"
+}
+