summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Berquist2018-05-11 22:29:30 -0400
committerEric Berquist2018-05-11 22:29:30 -0400
commitdde112648f1426566242e7b7934bb6df7323f010 (patch)
treebb3942db274dabe3d34106be2fc6ae660b5f3e50
parenta633bd7e81e34ec0f43085dc52b60eb5d3d26538 (diff)
downloadaur-dde112648f1426566242e7b7934bb6df7323f010.tar.gz
Update versioning method.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3eff2867c3b..9eb9e597d81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Jan 18 18:33:02 UTC 2016
+# Sat May 12 02:28:55 UTC 2018
pkgbase = python-cclib-git
pkgdesc = A library for parsing and interpreting the results of computational chemistry packages. (git version)
- pkgver = 1.3.3.r1789.f72c8cd
+ pkgver = 1.5.4.r2295.1e3f6c58
pkgrel = 1
url = http://cclib.github.io
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4eed648f9bc..6e8681df8b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name="cclib"
pkgbase="python-${_name}-git"
pkgname=("python-${_name}-git" "python2-${_name}-git")
-pkgver=1.3.3.r1789.f72c8cd
+pkgver=1.5.4.r2295.1e3f6c58
pkgrel=1
pkgdesc="A library for parsing and interpreting the results of computational chemistry packages. (git version)"
arch=("any")
@@ -40,7 +40,7 @@ package_python2-cclib-git() {
pkgver() {
cd "${srcdir}/${_name}"
- _parent_ver=$(git log --tags --simplify-by-decoration --pretty="format:%d" | head -n 1 | cut -d " " -f 3 | tr -d "v,)")
+ _parent_ver=$(git describe --tags --abbrev=0 | tr -d v)
_parent_major_ver=$(echo "${_parent_ver}" | cut -d "." -f 1)
_parent_minor_ver=$(echo "${_parent_ver}" | cut -d "." -f 2)
_parent_patch_ver=$(echo "${_parent_ver}" | cut -d "." -f 3)