summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWieland Hoffmann2016-07-07 19:59:08 +0200
committerWieland Hoffmann2016-07-07 19:59:08 +0200
commit3607cecddd06b71504ab9d8a69e141d21c0dcac4 (patch)
treee6a99daf57151985a9a758430bba9e6035083dca /PKGBUILD
parent2661a477a333f3d4dde22a28e7c38186edf851db (diff)
downloadaur-lala-git.tar.gz
Update the pkgver generation
The new command is taken from https://git.archlinux.org/pacman.git/tree/proto/PKGBUILD-vcs.proto#n46
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc25cc1a0d59..4d49f1638022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=lala-git
-pkgver=0.2_129_g891b782
+pkgver=0.4.r61.f876246
pkgrel=1
pkgdesc="irc bot"
arch=("any")
@@ -13,7 +13,7 @@ md5sums=('SKIP')
pkgver(){
cd "$srcdir/lala"
- echo "$(git describe --tags --always | sed 's/-/_/g')"
+ printf "%s" "$(git describe --long --tags| sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
package() {