summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2016-09-09 17:04:59 +0200
committerFrederic Bezies2016-09-09 17:04:59 +0200
commit7c1498d86683d3ec8dda569d50f4f0f6f3615b79 (patch)
treeb3298fba8f4191701066ca7917cf60b976113199 /PKGBUILD
parentac06e7b378c4c2f5375acb04d59168d876cf4d4f (diff)
downloadaur-7c1498d86683d3ec8dda569d50f4f0f6f3615b79.tar.gz
Adopted and applied a clearer pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index beb2d4ab0f7..a6f9d03d6c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {