diff options
author | Dan Ziemba | 2015-06-27 01:15:28 -0400 |
---|---|---|
committer | Dan Ziemba | 2015-06-27 01:15:28 -0400 |
commit | 8fbeebe1ad0168d4514ae1f45f627d6ba2dcaa64 (patch) | |
tree | 39c5f652b5fda85ffdd72aea06b6145d8f20a3b6 | |
parent | 697b6295ace4c7e80fd034b112e1896c6652af8b (diff) | |
download | aur-8fbeebe1ad0168d4514ae1f45f627d6ba2dcaa64.tar.gz |
Improved pkgver function to include all tags
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = lbzip2-git pkgdesc = A parallel, SMP-based, bzip2-compatible compression utility - pkgver = 2.2.r92.g9aa5ad4 - pkgrel = 3 + pkgver = 2.5.r19.gce96731 + pkgrel = 1 url = http://lbzip2.org/ arch = i686 arch = x86_64 @@ -3,8 +3,8 @@ # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=lbzip2-git -pkgver=2.2.r92.g9aa5ad4 -pkgrel=3 +pkgver=2.5.r19.gce96731 +pkgrel=1 pkgdesc="A parallel, SMP-based, bzip2-compatible compression utility" arch=('i686' 'x86_64') url="http://lbzip2.org/" @@ -20,7 +20,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$_gitname" - git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g' + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g' } build() { |