summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c93df3b32c..6031b0d92c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mpdevil-git
pkgdesc = A simple music browser for MPD (git version)
- pkgver = v1.0.0.r0.ge8191ea
+ pkgver = 1.0.0.r0.ge8191ea
pkgrel = 1
url = https://github.com/SoongNoonien/mpdevil
arch = any
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() {