diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:19:19 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:19:19 +0100 |
commit | 402d8bae8610c14c63740deff96a7293355a1704 (patch) | |
tree | 9606fc887f5d3fc414b72008dd8880c5d87f53ed /patacrep-git/PKGBUILD | |
parent | 2c2797994e448a5127f6dde9446f8adbef5fffbc (diff) | |
parent | 71304dddf41b04f36853791031090fd69fabba68 (diff) | |
download | AUR-402d8bae8610c14c63740deff96a7293355a1704.tar.gz AUR-402d8bae8610c14c63740deff96a7293355a1704.tar.zst AUR-402d8bae8610c14c63740deff96a7293355a1704.zip |
Add 'patacrep-git/' from commit '71304dddf41b04f36853791031090fd69fabba68'
git-subtree-dir: patacrep-git
git-subtree-mainline: 2c2797994e448a5127f6dde9446f8adbef5fffbc
git-subtree-split: 71304dddf41b04f36853791031090fd69fabba68
Diffstat (limited to 'patacrep-git/PKGBUILD')
-rw-r--r-- | patacrep-git/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patacrep-git/PKGBUILD b/patacrep-git/PKGBUILD new file mode 100644 index 0000000..19d0553 --- /dev/null +++ b/patacrep-git/PKGBUILD | |||
@@ -0,0 +1,31 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=patacrep-git | ||
4 | pkgver=5.1.2.r17.g30eb8d62 | ||
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' | ||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | ||
12 | 'python-argparse' 'lilypond') | ||
13 | makedepends=('python-setuptools') | ||
14 | source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/$pkgname" | ||
19 | git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" | ||
20 | } | ||
21 | |||
22 | build() { | ||
23 | cd "$srcdir/$pkgname" | ||
24 | python setup.py build | ||
25 | } | ||
26 | |||
27 | package(){ | ||
28 | cd "$srcdir/$pkgname" | ||
29 | python setup.py install --root="${pkgdir}" | ||
30 | } | ||
31 | |||