updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / abjad-svn / PKGBUILD
blob88d867f19eee1af1828d256877c7bb2199c28576
1 # $Id$
2 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
3 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
5 pkgname=abjad-svn
6 _realname=abjad
7 pkgver=4306
8 pkgrel=1
9 pkgdesc="Abjad: a Python API for Formalized Score Control"
10 url="http://code.google.com/p/abjad/"
11 arch=('any')
12 license=('GPL')
13 depends=('python2' 'lilypond')
14 conflicts=('abjad')
15 provides=('abjad')
16 options=(!emptydirs)
18 _svntrunk=http://abjad.googlecode.com/svn/abjad/trunk/
19 _svnmod=${_realname}
21 build() {
23   cd ${srcdir}
25   if [ -d $_svnmod ] ; then
26     (cd $_svnmod && svn update)
27     msg "The local files are updated."
28   else
29     svn co ${_svntrunk} ${_svnmod}
30   fi
32   cd $srcdir/$_svnmod
33   python2 setup.py install --root=$pkgdir/ --optimize=1