summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Klinkovsk√Ĺ2015-08-01 09:31:18 +0200
committerJakub Klinkovsk√Ĺ2015-08-01 09:31:18 +0200
commit341a25f873879322757dc67927b55db952bc75fb (patch)
tree31ca37b70e202a46b679768c1755a07819408ab6
parent9e0008e6f531853f163a21e7c957dcfe22a44af2 (diff)
downloadaur-341a25f873879322757dc67927b55db952bc75fb.tar.gz
update pkgver() to preserve version monotonicity
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48dc780493c..9e9f3d15cd2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sxlock-git
pkgdesc = Simple screen locker utility for X, fork of sflock. Uses PAM authentication, no suid needed.
- pkgver = 1.1.7.g639db05
+ pkgver = 1.1.r8.g1388c6e
pkgrel = 1
url = https://github.com/lahwaacz/sxlock
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8b987c5f2c7..4ed39b1c50a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sxlock-git
_pkgname=sxlock
-pkgver=1.1.7.g639db05
+pkgver=1.1.r8.g1388c6e
pkgrel=1
pkgdesc="Simple screen locker utility for X, fork of sflock. Uses PAM authentication, no suid needed."
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- git describe --always | sed 's|^v||;s|-|.|g'
+ git describe --always | sed 's|^v||;s|\([^-]*-g\)|r\1|;s|-|.|g'
}
build() {