summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8b987c5f2c71..4ed39b1c50ad 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() {