diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 12:05:42 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 12:05:42 +0100 |
commit | 77539a71a7ae2deaa736d497a5bd8d60061367ac (patch) | |
tree | 513698afbcc46a9fb108e89dee703fb0850c1135 | |
parent | 7a211847213376f1580e00471e161cc7f1da3c65 (diff) | |
download | AUR-77539a71a7ae2deaa736d497a5bd8d60061367ac.tar.gz AUR-77539a71a7ae2deaa736d497a5bd8d60061367ac.tar.zst AUR-77539a71a7ae2deaa736d497a5bd8d60061367ac.zip |
Add missing pkgver computation
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 14 insertions, 7 deletions
@@ -1,6 +1,8 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:05:40 UTC 2019 | ||
1 | pkgbase = patacrep-git | 3 | pkgbase = patacrep-git |
2 | pkgdesc = Engine for LaTeX songbooks | 4 | pkgdesc = Engine for LaTeX songbooks |
3 | pkgver = 20150614 | 5 | pkgver = v5.1.2.r17.g30eb8d62 |
4 | pkgrel = 1 | 6 | pkgrel = 1 |
5 | url = http://www.patacrep.com | 7 | url = http://www.patacrep.com |
6 | arch = any | 8 | arch = any |
@@ -15,7 +17,7 @@ pkgbase = patacrep-git | |||
15 | depends = texlive-latexextra | 17 | depends = texlive-latexextra |
16 | depends = python-argparse | 18 | depends = python-argparse |
17 | depends = lilypond | 19 | depends = lilypond |
18 | source = patacrep::git://github.com/patacrep/patacrep.git#branch=master | 20 | source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master |
19 | sha256sums = SKIP | 21 | sha256sums = SKIP |
20 | 22 | ||
21 | pkgname = patacrep-git | 23 | pkgname = patacrep-git |
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | 1 | # Maintainer: Immae <ismael.bouya@normalesup.org> |
2 | 2 | ||
3 | pkgname=patacrep-git | 3 | pkgname=patacrep-git |
4 | pkgver=20150614 | 4 | pkgver=v5.1.2.r17.g30eb8d62 |
5 | pkgrel=1 | 5 | pkgrel=1 |
6 | pkgdesc="Engine for LaTeX songbooks" | 6 | pkgdesc="Engine for LaTeX songbooks" |
7 | arch=('any') | 7 | arch=('any') |
@@ -11,16 +11,21 @@ depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | |||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | 11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' |
12 | 'python-argparse' 'lilypond') | 12 | 'python-argparse' 'lilypond') |
13 | makedepends=('python-setuptools') | 13 | makedepends=('python-setuptools') |
14 | source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master") | 14 | source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") |
15 | sha256sums=(SKIP) | 15 | sha256sums=('SKIP') |
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/$pkgname" | ||
19 | git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
20 | } | ||
16 | 21 | ||
17 | build() { | 22 | build() { |
18 | cd "$srcdir/patacrep" | 23 | cd "$srcdir/$pkgname" |
19 | python setup.py build | 24 | python setup.py build |
20 | } | 25 | } |
21 | 26 | ||
22 | package(){ | 27 | package(){ |
23 | cd "$srcdir/patacrep" | 28 | cd "$srcdir/$pkgname" |
24 | python setup.py install --root="${pkgdir}" | 29 | python setup.py install --root="${pkgdir}" |
25 | } | 30 | } |
26 | 31 | ||