diff options
author | Pablo Lezaeta Reyes | 2017-10-03 00:23:52 -0300 |
---|---|---|
committer | Pablo Lezaeta Reyes | 2017-10-03 00:23:52 -0300 |
commit | ff5a48fe3367384a6c199e475d641153fde3d33a (patch) | |
tree | 3b09f4bfcfd15cd535bb129831a8ad665eac7988 | |
parent | 5f6adbdaa56c359b7bbc5dfaa596e64eec6a6678 (diff) | |
download | aur-ff5a48fe3367384a6c199e475d641153fde3d33a.tar.gz |
Improve versioning
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = xfce-theme-greybird-git pkgdesc = Desktop theme suite from Xubuntu, with support for Xfce, Metacity and Unity - pkgver = 3.22.4.r738 + pkgver = v3.22.5+3 pkgrel = 1 url = https://github.com/shimmerproject/Greybird arch = any @@ -3,7 +3,7 @@ # Contributor: Alessio Sergi <asergi at archlinux dot us> pkgname=xfce-theme-greybird-git -pkgver=3.22.4.r738 +pkgver=v3.22.5+3 pkgrel=1 pkgdesc="Desktop theme suite from Xubuntu, with support for Xfce, Metacity and Unity" arch=('any') @@ -25,7 +25,8 @@ md5sums=('SKIP') pkgver() { cd "Greybird" - echo $(git describe --always --abbrev=0).r$(git rev-list --count master) | sed 's|-|.|g' | sed 's|v||g' +# echo $(git describe --always --abbrev=0).r$(git rev-list --count master) | sed 's|-|.|g' | sed 's|v||g' + echo "$(git describe --long | sed -r 's/-([0-9,a-g,A-G]{7}.*)//' | sed 's/-/+/' )" } package() { |