summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsasvari2018-08-07 15:50:32 +0200
committersasvari2018-08-07 15:50:32 +0200
commit1a9c25b7eb1c3e396842e1a5c49c18e06e8fd268 (patch)
tree44799a3b4f0ff6362fa971b8d6a064cf22be1791 /PKGBUILD
parent9a22f4ae6559f68f1daf844f3af93402343fba36 (diff)
downloadaur-1a9c25b7eb1c3e396842e1a5c49c18e06e8fd268.tar.gz
new revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9124664bd8b..d4b14e339b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: sasvari
pkg="pubs"
pkgname="$pkg-git"
-pkgver=20180801.c6edacf
+pkgver='0.8.dev2'
pkgrel=1
pkgdesc="Your bibliography on the command line"
arch=(any)
@@ -13,10 +13,11 @@ provides=("pubs")
source=("git+https://github.com/pubs/pubs.git")
pkgver() {
- cd "$srcdir/$pkg"
+ #cd "$srcdir/$pkg"
#git describe | sed 's/^v//; s/-/.r/; s/-/./'
#git rev-parse --short HEAD
- git log -1 --format=%cd.%h --date=short|tr -d -
+ #git log -1 --format=%cd.%h --date=short|tr -d -
+ cat $srcdir/$pkg/pubs/version.py | awk '{ print $3 }'
}
build () {