aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ded3b6c..b63d005 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=20150614 4pkgver=v5.1.2.r17.g30eb8d62
5pkgrel=1 5pkgrel=1
6pkgdesc="Engine for LaTeX songbooks" 6pkgdesc="Engine for LaTeX songbooks"
7arch=('any') 7arch=('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')
13makedepends=('python-setuptools') 13makedepends=('python-setuptools')
14source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master") 14source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master")
15sha256sums=(SKIP) 15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/$pkgname"
19 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
20}
16 21
17build() { 22build() {
18 cd "$srcdir/patacrep" 23 cd "$srcdir/$pkgname"
19 python setup.py build 24 python setup.py build
20} 25}
21 26
22package(){ 27package(){
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