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 6da5b05d7b92..e17785f2ab61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=clyrics
pkgname=$_pkgname-git
-pkgver=0.12
+pkgver=0.12.r1.g0bd4961
pkgrel=1
pkgdesc="An extensible lyrics fetcher, with daemon support for cmus and mocp."
@@ -26,7 +26,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- git describe --always | sed -e 's|-|.|g'
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {