diff options
author | ahtn | 2019-06-10 20:41:13 +1000 |
---|---|---|
committer | ahtn | 2019-06-10 20:42:43 +1000 |
commit | 415f8ed6aa7b94deb7df6c470f490fec39e4301b (patch) | |
tree | b929ffc92cf16cded9965100f10033b50eb1f136 /PKGBUILD | |
parent | 2525720340f9dd0b15f2a677fc258456a2cb18d4 (diff) | |
download | aur-415f8ed6aa7b94deb7df6c470f490fec39e4301b.tar.gz |
change pkgver() to get correct git version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ # Maintainer: jem <jem ΑΤ seethis DΟΤ link> pkgname=keyplusd-git _gitname=keyplus -pkgver=v0.2.0.beta.r407.g37c9804 -pkgrel=3 +pkgver=0.3.3.r77.gb9cc778 +pkgrel=1 epoch= pkgdesc="keyboard remapping tool that emulates keyplus firmware" arch=('i686' 'x86_64') @@ -31,7 +31,7 @@ validpgpkeys=() pkgver() { cd $_gitname - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --match "*.*.*" | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |