summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0728ce63296..947f43f751b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Martin Wagner <martin.wagner.dev@gmail.com>
pkgname=mpdevil-git
-pkgver=v1.0.0.r0.ge8191ea
+pkgver=1.0.0.r0.ge8191ea
pkgrel=1
pkgdesc="A simple music browser for MPD (git version)"
arch=('any')
@@ -17,7 +17,7 @@ _gitname="mpdevil"
pkgver() {
cd "${_gitname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {