diff options
author | Storm Dragon | 2018-05-10 13:44:33 -0400 |
---|---|---|
committer | Storm Dragon | 2018-05-10 13:44:33 -0400 |
commit | 427b54be834a75d91526c0351714d1131bed6e21 (patch) | |
tree | fc3eeb1eb8ddcfcab4727871b85c80468e24042d | |
parent | 7bb5a9b70fad3cfdb9304b3ebc1586f284ccfcb6 (diff) | |
download | aur-427b54be834a75d91526c0351714d1131bed6e21.tar.gz |
Fixed empty version string.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu May 10 17:38:47 UTC 2018 +# Thu May 10 17:44:18 UTC 2018 pkgbase = talking-clock-git pkgdesc = Highly configurable clock written in bash with soundpack and voice options. pkgver = v15.0.r5.3b6827e @@ -27,10 +27,10 @@ md5sums=("SKIP") pkgver() { - cd "${_pkgname}" - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" -} - + cd "$_pkgname" + git shortlog | head -n 1 | tr -Cd "[:digit:]" +} + package() { cd "$_pkgname" |