From 71304dddf41b04f36853791031090fd69fabba68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 13:42:52 +0100 Subject: [PATCH] Fix package version containing a "v" --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 82efc60..b4bc449 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Feb 14 11:05:40 UTC 2019 +# Thu Feb 14 12:42:48 UTC 2019 pkgbase = patacrep-git pkgdesc = Engine for LaTeX songbooks - pkgver = v5.1.2.r17.g30eb8d62 + pkgver = 5.1.2.r17.g30eb8d62 pkgrel = 1 url = http://www.patacrep.com arch = any diff --git a/PKGBUILD b/PKGBUILD index b63d005..19d0553 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Immae pkgname=patacrep-git -pkgver=v5.1.2.r17.g30eb8d62 +pkgver=5.1.2.r17.g30eb8d62 pkgrel=1 pkgdesc="Engine for LaTeX songbooks" arch=('any') @@ -16,7 +16,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" } build() { -- 2.41.0