summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsasvari2018-08-07 15:50:32 +0200
committersasvari2018-08-07 15:50:32 +0200
commit1a9c25b7eb1c3e396842e1a5c49c18e06e8fd268 (patch)
tree44799a3b4f0ff6362fa971b8d6a064cf22be1791
parent9a22f4ae6559f68f1daf844f3af93402343fba36 (diff)
downloadaur-1a9c25b7eb1c3e396842e1a5c49c18e06e8fd268.tar.gz
new revision
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e29b660841..a50f549416b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pubs-git
pkgdesc = Your bibliography on the command line
- pkgver = 20180801.c6edacf
+ pkgver = 0.8.dev2
pkgrel = 1
url = https://github.com/pubs/pubs
arch = any
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 () {