summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {