blob: 77bbbd877b6e20dd7174f4595020d3a30434dbca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Raphaƫl Doursenaud <rdoursenaud@free.fr>
pkgname=python-ly-git
pkgver=0.9.6.r3.g7bc9577
pkgrel=1
pkgdesc="Python modules to parse, manipulate or create documents in LilyPond format."
arch=('any')
url="https://github.com/frescobaldi/python-ly"
license=('GPL')
makedepends=('git')
depends=('python')
provides=("${pkgname%-git}=$pkgver-$pkgrel")
conflicts=("${pkgname%-git}" "ly")
options=(!emptydirs)
source=("$pkgname"::'git://github.com/wbsoft/python-ly.git')
md5sums=('SKIP')
_gitroot='https://github.com/wbsoft/python-ly.git'
_gitname='python-ly'
pkgver() {
cd "$srcdir/$pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|