diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 25 insertions, 29 deletions
@@ -1,22 +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 = r78.78c3065 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 - depends = fuse + makedepends = git + depends = fuse2 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 - @@ -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=r78.78c3065 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}") +depends=(fuse2 libarchive) +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 } - |