summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4beb98a19e2..9997675235c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ source=("git://$_pkgname.git.sourceforge.net/gitroot/$_pkgname/$_pkgname")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- echo $(awk -F"['+]" '/version/ {print $2} ' src/version.py).$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ echo $(awk -F"['+]" '/version/ {print $2} ' src/version.py | grep -o "^[^-]*").$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "$srcdir/$_pkgname"