summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-11-11 23:11:17 +0100
committerhaawda2018-11-11 23:11:17 +0100
commit51288cac6869e3edf50af0ea982f31a06429ab3e (patch)
tree70dde08838cb7ab846d33723a5665000a95df21c
parent3f0db14745cdfe523abe3417d490a9875394ff9d (diff)
downloadaur-51288cac6869e3edf50af0ea982f31a06429ab3e.tar.gz
avoid variable _gitname
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b14882f237..8bd5228847e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = artanis-git
pkgdesc = A fast monolithic web-framework of Scheme
- pkgver = 0.2.5.81.g9e82b7d
+ pkgver = 0.2.5.206.gaf624e5
pkgrel = 1
url = http://web-artanis.com/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d60126e6ceb..c57cb13a47a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=artanis-git
-pkgver=0.2.5.81.g9e82b7d
+pkgver=0.2.5.206.gaf624e5
pkgrel=1
pkgdesc="A fast monolithic web-framework of Scheme"
arch=('x86_64')
@@ -14,15 +14,14 @@ conflicts=('artanis')
source=("git+https://gitlab.com/NalaGinrut/artanis.git")
md5sums=('SKIP')
options=('!strip')
-_gitname="artanis"
pkgver() {
- cd $_gitname
+ cd ${pkgname%-git}
git describe|cut -c2-|tr - .
}
build() {
- cd $_gitname
+ cd ${pkgname%-git}
./autogen.sh
GUILE_EFFECTIVE_VERSION=2.2 ./configure --prefix=/usr \
--bindir=/usr/bin \
@@ -33,13 +32,13 @@ build() {
}
check() {
- cd $_gitname
+ cd ${pkgname%-git}
export GUILE_LOAD_PATH=$GUILE_LOAD_PATH:.
guile -c '(display (@ (artanis artanis) artanis-version))'
}
package() {
- cd $_gitname
+ cd ${pkgname%-git}
make DESTDIR="$pkgdir/" install
# repair
cp -r "$pkgdir"/bin "$pkgdir"/usr