summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJanne Heß2016-06-29 15:25:32 +0200
committerJanne Heß2016-06-29 15:25:32 +0200
commitbf9d5c1ff5c9ce873a3e27dc9ac01274de285714 (patch)
tree171948e89ff8430b32852418bcba3c754c637078 /PKGBUILD
parent41387bcb06eed3b169574ca8c7f0be7903670cb0 (diff)
downloadaur-bf9d5c1ff5c9ce873a3e27dc9ac01274de285714.tar.gz
Rename downloaded repository
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03477c4952f..5a6965a2dc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,17 +10,17 @@ depends=("fuse" "libarchive")
makedepends=("automake" "autoconf" "make")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
-source=("git+http://www.cybernoia.de/software/${pkgname%-git}/git")
+source=("${pkgname}::git+http://www.cybernoia.de/software/${pkgname%-git}/git")
sha512sums=('SKIP')
arch=("i686" "x86_64")
pkgver() {
- cd git
+ cd "${pkgname}"
git describe --tags --always | sed 's/-[[:digit:]]*-/./g'
}
build() {
- cd git
+ cd "${pkgname}"
aclocal
autoheader
automake --add-missing
@@ -30,7 +30,7 @@ build() {
}
package() {
- cd "git"
+ 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"