aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 14 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 795feca..82efc60 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
1# Generated by mksrcinfo v8
2# Thu Feb 14 11:05:40 UTC 2019
1pkgbase = patacrep-git 3pkgbase = 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
21pkgname = patacrep-git 23pkgname = patacrep-git
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