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