diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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 | ||