summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2019-08-10 22:24:18 +0200
committerSebastian 'Swift Geek' Grzywna2019-08-10 22:24:18 +0200
commit8a7aee10b4e0d940c5a6c381987de6f34c43f7b4 (patch)
tree83c3af96ec04b89ed61421a24658d360b58b3322
parent67b7b73fe2dac3ea3427309c9791058ddf12096a (diff)
downloadaur-pnputils-git.tar.gz
Fix pkgver
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 89f6bc9c8f2..ef71b4656bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=pnputils-git
-pkgver=0.1.3+56.g81e685a
+pkgver=a
pkgrel=1
pkgdesc="PNP utils"
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ provides=("pnputils=${pkgver%+*}")
pkgver() {
cd "$srcdir/pnputils"
- git describe --long --tags | sed 's#.*/##; s/-/./; s/-/+/; s/-/./'
+ git describe --long --tags | sed 's#.*/##; s/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {