diff options
author | Raphaël Doursenaud | 2015-07-05 17:59:16 +0200 |
---|---|---|
committer | Raphaël Doursenaud | 2015-07-05 17:59:16 +0200 |
commit | be135ca28d32e96882da89640df20967b4e1573f (patch) | |
tree | 1a972e06891afb602d540c04984d5a6278214d5c | |
download | aur-be135ca28d32e96882da89640df20967b4e1573f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f34942ded6bf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-ly-git + pkgdesc = Python modules to parse, manipulate or create documents in LilyPond format. + pkgver = v0.9.1.r0.gb90049c + pkgrel = 1 + url = https://github.com/wbsoft/python-ly + arch = any + license = GPL + depends = python + provides = python-ly + conflicts = python-ly + options = !emptydirs + source = python-ly-git::git://github.com/wbsoft/python-ly.git + md5sums = SKIP + +pkgname = python-ly-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..24b889d31904 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Raphaël Doursenaud <rdoursenaud@free.fr> +pkgname=python-ly-git +pkgver=v0.9.1.r0.gb90049c +pkgrel=1 +pkgdesc="Python modules to parse, manipulate or create documents in LilyPond format." +arch=('any') +url="https://github.com/wbsoft/python-ly" +license=('GPL') +depends=('python') +provides=('python-ly') +conflicts=('python-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 -E '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: |