summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Therning2018-03-25 00:27:19 +0100
committerMagnus Therning2018-03-25 00:27:19 +0100
commit1f4a28cbf2ba7177b8c8c53af3019948e676537a (patch)
treee2887626dfb6efce8ab0433fbeca3f99f9570273
parent5e8c309c583671bfc60d32c669ce7323478d6763 (diff)
downloadaur-1f4a28cbf2ba7177b8c8c53af3019948e676537a.tar.gz
Remove the 'v' from the package version
Signed-off-by: Magnus Therning <magnus@therning.org>
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4f4d220ca45..fb63cf583ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --long | sed -r 's/^v//; s/([^-]*-g)/r\1/; s/-/./g'
}
build() {