summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphaël Doursenaud2018-02-10 12:20:27 +0100
committerRaphaël Doursenaud2018-02-10 12:20:27 +0100
commitbd5ebbe45c432aa13b7aed20b8cf11e8ce68288c (patch)
treefddc7bec26e4f7d6176df3d4e4b26c5e4710c8c3
parent6f83a94f08b3f37c611f833fcf8ce82e872564e5 (diff)
downloadaur-bd5ebbe45c432aa13b7aed20b8cf11e8ce68288c.tar.gz
Strip v from pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ddd8f39caa..7360d8ba28b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
# Generated by mksrcinfo v8
-# Sat Feb 10 11:16:41 UTC 2018
+# Sat Feb 10 11:20:27 UTC 2018
pkgbase = deadbeef-plugin-waveform-git
- pkgver = v0.5.r66.g8420ca0
+ pkgver = 0.5.r66.g8420ca0
pkgrel = 1
url = https://github.com/cboxdoerfer/ddb_waveform_seekbar
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 7174b810519..ed505b8e752 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Raphaël Doursenaud <rdoursenaud@free.fr>
pkgbase=deadbeef-plugin-waveform-git
pkgname=(deadbeef-plugin-waveform-gtk2-git deadbeef-plugin-waveform-gtk3-git)
-pkgver=v0.5.r66.g8420ca0
+pkgver=0.5.r66.g8420ca0
pkgrel=1
_pkgdesc="Waveform Seekbar Plugin for the DeaDBeeF audio player (development version)"
url="https://github.com/cboxdoerfer/ddb_waveform_seekbar"
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_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'
}