diff options
author | Caleb Maclennan | 2019-03-12 16:04:42 +0300 |
---|---|---|
committer | Caleb Maclennan | 2019-03-12 16:07:25 +0300 |
commit | 6ec68b9a27159c0c94992a898b9d8acde03ec1ee (patch) | |
tree | fc955ce8b9a8934a5f812e6d6a1eacfaeb79707a | |
parent | d6177564df492a9cce25416e07f196a075a2d4a5 (diff) | |
download | aur-6ec68b9a27159c0c94992a898b9d8acde03ec1ee.tar.gz |
Tweak version string with git tags to based on AUR guidelines
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = vicious-git pkgdesc = Widgets for the Awesome window manager - pkgver = 2.1.1.266.gea0c5a4 + pkgver = 2.3.3.r0.gea0c5a4 pkgrel = 1 url = https://github.com/vicious-widgets/vicious arch = any @@ -4,7 +4,7 @@ pkgname=vicious-git _pkgname=vicious -pkgver=2.1.1.266.gea0c5a4 +pkgver=2.3.3.r0.gea0c5a4 pkgrel=1 pkgdesc='Widgets for the Awesome window manager' arch=('any') @@ -23,7 +23,7 @@ md5sums=('SKIP') pkgver() { cd $pkgname - git describe --always | sed 's|^[^0-9]*||;s|\.g[a-f0-9]*$||;s|-|.|g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package () { |