1 # Maintainer: Patrick McCarty <pnorcks at gmail dot com>
6 pkgdesc="An automated music engraving system (development version)"
8 url="http://lilypond.org/"
10 depends=('fontconfig' 'freetype2' 'ghostscript'
11 'guile' 'pango' 'python2')
12 makedepends=('bison' 'flex' 'fontforge' 'gettext' 'gsfonts'
13 'perl' 'texinfo' 't1utils' 'texlive-core>=2011.23170')
14 optdepends=('netpbm: building HTML documentation'
15 'imagemagick: building HTML documentation'
16 'ttf-kochi-substitute: building HTML documentation'
17 'texi2html>=1.82: building HTML documentation'
18 'rsync: installing HTML documentation')
19 provides=("lilypond=$pkgver")
20 conflicts=('lilypond' 'lilypond-git')
21 install=$pkgname.install
22 source=(http://download.linuxaudio.org/lilypond/sources/v2.15/lilypond-$pkgver.tar.gz)
23 sha256sums=('14a6a32cfae76452db8f9f2fe0bf51470dd3f35ca9a7dec489b6c3b79e1cfb6e')
26 cd "$srcdir/lilypond-$pkgver"
29 for file in $(find . -name '*.py' -print); do
30 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
31 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
34 export PYTHON="python2"
35 export PYTHON_CONFIG="python2-config"
37 ./configure --prefix=/usr
42 cd "$srcdir/lilypond-$pkgver"
43 make DESTDIR="$pkgdir/" vimdir="/usr/share/vim/vimfiles" install
46 # vim:set ts=2 sw=2 et: