summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2020-06-13 15:00:45 +0200
committerFrederic Bezies2020-06-13 15:00:45 +0200
commitb0e28ff10a4afb2b9e046e294dc1b10cce2e37ad (patch)
tree501ea13210ba9c61608c072a331f32981173d618
parentc0ff94a4cce8b929745dc6d51e914488d7f7e8f8 (diff)
downloadaur-b0e28ff10a4afb2b9e046e294dc1b10cce2e37ad.tar.gz
PKGVER cleanup
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96032bb8a18..d570ec56676 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qemu-git
pkgdesc = A generic and open source machine emulator and virtualizer. Git version.
- pkgver = v5.0.0.r1127.g9e3903136d
- pkgrel = 1
+ pkgver = 5.0.0.r1127.g9e3903136d
+ pkgrel = 2
epoch = 10
url = http://wiki.qemu.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8431faedac5..03e65f25f6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@ pkgbase=qemu-git
_gitname=qemu
pkgname=(qemu-git qemu-headless-git qemu-arch-extra-git qemu-headless-arch-extra-git qemu-block-{iscsi-git,rbd-git,gluster-git} qemu-guest-agent-git)
pkgdesc="A generic and open source machine emulator and virtualizer. Git version."
-pkgver=v5.0.0.r1127.g9e3903136d
-pkgrel=1
+pkgver=5.0.0.r1127.g9e3903136d
+pkgrel=2
epoch=10
arch=(i686 x86_64)
license=(GPL2 LGPL2.1)
@@ -33,7 +33,7 @@ esac
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
prepare() {