summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2017-10-03 00:23:52 -0300
committerPablo Lezaeta Reyes2017-10-03 00:23:52 -0300
commitff5a48fe3367384a6c199e475d641153fde3d33a (patch)
tree3b09f4bfcfd15cd535bb129831a8ad665eac7988
parent5f6adbdaa56c359b7bbc5dfaa596e64eec6a6678 (diff)
downloadaur-ff5a48fe3367384a6c199e475d641153fde3d33a.tar.gz
Improve versioning
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 197c1c048889..93a1892a4604 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index b18d41cec859..931e8848a793 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {