+# Generated by mksrcinfo v8
+# Thu Feb 14 11:05:40 UTC 2019
pkgbase = patacrep-git
pkgdesc = Engine for LaTeX songbooks
- pkgver = 20150614
+ pkgver = v5.1.2.r17.g30eb8d62
pkgrel = 1
url = http://www.patacrep.com
arch = any
depends = texlive-latexextra
depends = python-argparse
depends = lilypond
- source = patacrep::git://github.com/patacrep/patacrep.git#branch=master
+ source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master
sha256sums = SKIP
pkgname = patacrep-git
# Maintainer: Immae <ismael.bouya@normalesup.org>
pkgname=patacrep-git
-pkgver=20150614
+pkgver=v5.1.2.r17.g30eb8d62
pkgrel=1
pkgdesc="Engine for LaTeX songbooks"
arch=('any')
'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra'
'python-argparse' 'lilypond')
makedepends=('python-setuptools')
-source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master")
-sha256sums=(SKIP)
+source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
build() {
- cd "$srcdir/patacrep"
+ cd "$srcdir/$pkgname"
python setup.py build
}
package(){
- cd "$srcdir/patacrep"
+ cd "$srcdir/$pkgname"
python setup.py install --root="${pkgdir}"
}