diff options
author | Frederic Bezies | 2016-09-09 17:04:59 +0200 |
---|---|---|
committer | Frederic Bezies | 2016-09-09 17:04:59 +0200 |
commit | 7c1498d86683d3ec8dda569d50f4f0f6f3615b79 (patch) | |
tree | b3298fba8f4191701066ca7917cf60b976113199 /PKGBUILD | |
parent | ac06e7b378c4c2f5375acb04d59168d876cf4d4f (diff) | |
download | aur-7c1498d86683d3ec8dda569d50f4f0f6f3615b79.tar.gz |
Adopted and applied a clearer pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,10 +1,11 @@ -# Maintainer: Rob Lynn <rob22uk at gmail dot com> +# Maintainer: Frederic Bezies <fredbezies at gmail dot com> +# Contributor: Rob Lynn <rob22uk at gmail dot com> # Contributor: DerFlob <derflob at derflob dot de> # Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com> pkgname=tilda-git _gitname=tilda -pkgver=284651c +pkgver=tilda.1.3.2.r9.gbc08cf2 pkgrel=1 pkgdesc="Linux terminal based on classic terminals from first person shooter games" arch=('i686' 'x86_64') @@ -16,11 +17,11 @@ provides=('tilda') conflicts=('tilda') source=('git://github.com/lanoxx/tilda.git') -md5sums=('SKIP') +sha1sums=('SKIP') pkgver() { cd $_gitname - git describe --always | sed 's|-|.|g' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |