diff options
author | Jakub Klinkovský | 2015-08-01 09:31:18 +0200 |
---|---|---|
committer | Jakub Klinkovský | 2015-08-01 09:31:18 +0200 |
commit | 341a25f873879322757dc67927b55db952bc75fb (patch) | |
tree | 31ca37b70e202a46b679768c1755a07819408ab6 | |
parent | 9e0008e6f531853f163a21e7c957dcfe22a44af2 (diff) | |
download | aur-341a25f873879322757dc67927b55db952bc75fb.tar.gz |
update pkgver() to preserve version monotonicity
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |