]>
Commit | Line | Data |
---|---|---|
89102e27 IB |
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> |
2 | ||
3 | pkgname=patacrep-git | |
71304ddd | 4 | pkgver=5.1.2.r17.g30eb8d62 |
89102e27 IB |
5 | pkgrel=1 |
6 | pkgdesc="Engine for LaTeX songbooks" | |
7 | arch=('any') | |
8 | url="http://www.patacrep.com" | |
9 | license=('GPL') | |
10 | depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | |
7a211847 IB |
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' |
12 | 'python-argparse' 'lilypond') | |
89102e27 | 13 | makedepends=('python-setuptools') |
77539a71 IB |
14 | source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") |
15 | sha256sums=('SKIP') | |
16 | ||
17 | pkgver() { | |
18 | cd "$srcdir/$pkgname" | |
71304ddd | 19 | git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" |
77539a71 | 20 | } |
89102e27 IB |
21 | |
22 | build() { | |
77539a71 | 23 | cd "$srcdir/$pkgname" |
89102e27 IB |
24 | python setup.py build |
25 | } | |
26 | ||
27 | package(){ | |
77539a71 | 28 | cd "$srcdir/$pkgname" |
89102e27 IB |
29 | python setup.py install --root="${pkgdir}" |
30 | } | |
31 |