summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Wagner2021-01-10 16:29:30 +0100
committerMartin Wagner2021-01-10 16:29:30 +0100
commita4dbdfa579858561e86bc3ed7d5686e04b06dddc (patch)
tree042fb59756ef31101f13d86b766562d98cc1e903
parentb4c52b0999c1ef5cc8a45bf22336a3508dcb69c2 (diff)
downloadaur-mpdevil-git.tar.gz
fixed git version number
-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() {