summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD37
2 files changed, 23 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98f2e96b1c7..5956437b5a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,17 @@
-# Generated by mksrcinfo v8
-# Wed Jun 29 13:25:23 UTC 2016
pkgbase = archivemount-git
pkgdesc = FUSE filesystem using libarchive
- pkgver = 0.8.7.gbb2faa8
+ pkgver = r63.104a314
pkgrel = 1
- url = http://www.cybernoi.de/software/archivemount/
+ url = https://www.cybernoia.de/software/archivemount.html
arch = i686
arch = x86_64
license = GPL2
- makedepends = automake
- makedepends = autoconf
- makedepends = make
+ makedepends = git
depends = fuse
depends = libarchive
provides = archivemount
conflicts = archivemount
- source = archivemount-git::git+http://www.cybernoia.de/software/archivemount/git
+ source = archivemount-git::git+https://github.com/cybernoid/archivemount.git
sha512sums = SKIP
pkgname = archivemount-git
diff --git a/PKGBUILD b/PKGBUILD
index 5a6965a2dc3..75af9f524c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,40 @@
-# Maintainer: Janne Heß <jannehess@gmail.com>
+# Maintainer: Lex Black <autumn-wind@web.de>
+# Contributor: Janne Heß <jannehess@gmail.com>
pkgname=archivemount-git
-pkgver=0.8.7.gbb2faa8
+pkgver=r63.104a314
pkgrel=1
pkgdesc="FUSE filesystem using libarchive"
-url="http://www.cybernoi.de/software/${pkgname%-git}/"
+url="https://www.cybernoia.de/software/${pkgname%-git}.html"
+arch=("i686" "x86_64")
license=("GPL2")
depends=("fuse" "libarchive")
-makedepends=("automake" "autoconf" "make")
-provides=("${pkgname%-git}")
+makedepends=("git")
conflicts=("${pkgname%-git}")
-source=("${pkgname}::git+http://www.cybernoia.de/software/${pkgname%-git}/git")
+provides=("${pkgname%-git}")
+source=("${pkgname}::git+https://github.com/cybernoid/archivemount.git")
sha512sums=('SKIP')
-arch=("i686" "x86_64")
+
pkgver() {
cd "${pkgname}"
- git describe --tags --always | sed 's/-[[:digit:]]*-/./g'
+ #git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ # Until Tags are available again
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "${pkgname}"
+ autoreconf -i
}
build() {
cd "${pkgname}"
- aclocal
- autoheader
- automake --add-missing
- autoconf
- ./configure
+ ./configure --prefix="/usr"
make
}
package() {
cd "${pkgname}"
- 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"
+ make DESTDIR="${pkgdir}/" install install-man
}
-