From: Ismaƫl Bouya Date: Thu, 14 Feb 2019 12:42:52 +0000 (+0100) Subject: Fix package version containing a "v" X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=71304dddf41b04f36853791031090fd69fabba68;p=perso%2FImmae%2FConfig%2FAUR.git Fix package version containing a "v" --- 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() {