aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 13:42:52 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 13:42:52 +0100
commit71304dddf41b04f36853791031090fd69fabba68 (patch)
tree1d17b2174beb17af1f3f5f618c375784e9743657
parent77539a71a7ae2deaa736d497a5bd8d60061367ac (diff)
downloadAUR-71304dddf41b04f36853791031090fd69fabba68.tar.gz
AUR-71304dddf41b04f36853791031090fd69fabba68.tar.zst
AUR-71304dddf41b04f36853791031090fd69fabba68.zip
Fix package version containing a "v"
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
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 @@
1# Generated by mksrcinfo v8 1# Generated by mksrcinfo v8
2# Thu Feb 14 11:05:40 UTC 2019 2# Thu Feb 14 12:42:48 UTC 2019
3pkgbase = patacrep-git 3pkgbase = patacrep-git
4 pkgdesc = Engine for LaTeX songbooks 4 pkgdesc = Engine for LaTeX songbooks
5 pkgver = v5.1.2.r17.g30eb8d62 5 pkgver = 5.1.2.r17.g30eb8d62
6 pkgrel = 1 6 pkgrel = 1
7 url = http://www.patacrep.com 7 url = http://www.patacrep.com
8 arch = any 8 arch = any
diff --git a/PKGBUILD b/PKGBUILD
index b63d005..19d0553 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Immae <ismael.bouya@normalesup.org> 1# Maintainer: Immae <ismael.bouya@normalesup.org>
2 2
3pkgname=patacrep-git 3pkgname=patacrep-git
4pkgver=v5.1.2.r17.g30eb8d62 4pkgver=5.1.2.r17.g30eb8d62
5pkgrel=1 5pkgrel=1
6pkgdesc="Engine for LaTeX songbooks" 6pkgdesc="Engine for LaTeX songbooks"
7arch=('any') 7arch=('any')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
16 16
17pkgver() { 17pkgver() {
18 cd "$srcdir/$pkgname" 18 cd "$srcdir/$pkgname"
19 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' 19 git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//"
20} 20}
21 21
22build() { 22build() {