summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-08-21 01:04:02 +0200
committerhaawda2018-08-21 01:04:02 +0200
commit3f0db14745cdfe523abe3417d490a9875394ff9d (patch)
tree1217aefa74b7c94860dd48b5033bc91766591a9b
parent1ae9272dbdc7b8f9fd1435b1f7866b203a113a88 (diff)
downloadaur-3f0db14745cdfe523abe3417d490a9875394ff9d.tar.gz
initial reupload
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d851e42d1d..9b14882f237 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Jul 17 19:49:36 UTC 2017
pkgbase = artanis-git
pkgdesc = A fast monolithic web-framework of Scheme
- pkgver = r1184.ef8c4ec
+ pkgver = 0.2.5.81.g9e82b7d
pkgrel = 1
url = http://web-artanis.com/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 66969da7be1..d60126e6ceb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=artanis-git
-pkgver=r1184.ef8c4ec
+pkgver=0.2.5.81.g9e82b7d
pkgrel=1
pkgdesc="A fast monolithic web-framework of Scheme"
arch=('x86_64')
@@ -17,12 +17,12 @@ options=('!strip')
_gitname="artanis"
pkgver() {
- cd "$_gitname"
- printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+ cd $_gitname
+ git describe|cut -c2-|tr - .
}
build() {
- cd "$_gitname"
+ cd $_gitname
./autogen.sh
GUILE_EFFECTIVE_VERSION=2.2 ./configure --prefix=/usr \
--bindir=/usr/bin \
@@ -33,15 +33,15 @@ build() {
}
check() {
- cd "$srcdir"/"$_gitname"
+ cd $_gitname
export GUILE_LOAD_PATH=$GUILE_LOAD_PATH:.
guile -c '(display (@ (artanis artanis) artanis-version))'
}
package() {
- cd "$srcdir/$_gitname"
+ cd $_gitname
make DESTDIR="$pkgdir/" install
# repair
- cp -r $pkgdir/{share,bin} $pkgdir/usr
- rm -r $pkgdir/{share,bin}
+ cp -r "$pkgdir"/bin "$pkgdir"/usr
+ rm -r "$pkgdir"/bin
}