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
24 sha256sums=('368be680ce2305ca3fa35aba63a62c75f6babd3ecfb46b94f81d1dadc43e1c18'
25 '80f5be4313d08bd481d0dd04e767ebb79d1b99b05fb373b5d4cb96cdbb5cf4b4')
28 cd "$srcdir/lilypond-$pkgver"
31 for file in $(find . -name '*.py' -print); do
32 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
33 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
36 patch -p1 -i "$srcdir/python2.patch"
38 PYTHON="python2" ./autogen.sh --prefix=/usr
43 cd "$srcdir/lilypond-$pkgver"
44 make DESTDIR="$pkgdir/" vimdir="/usr/share/vim/vimfiles" install
47 # vim:set ts=2 sw=2 et: