desktop/lilypond/PKGBUILD

48 lines
1.5 KiB
Bash
Raw Normal View History

#
2013-01-15 02:08:45 +08:00
# Apps Packages for Chakra, part of chakra-project.org
#
2013-01-15 02:08:45 +08:00
# maintainer abveritas@chakra-project.org
# contributor Giuseppe Calà <jiveaxe@gmail.com>
pkgname=lilypond
2013-01-15 02:08:45 +08:00
pkgver=2.16.2
2012-08-27 19:24:55 +08:00
_pkgver=2.16
pkgrel=1
pkgdesc="A music engraving program, devoted to producing the highest-quality sheet music possible."
2013-01-15 02:08:45 +08:00
arch=('x86_64')
url="http://lilypond.org/"
license=('GPL')
depends=('fontconfig' 'freetype2' 'ghostscript'
'guile' 'pango' 'python')
makedepends=('bison' 'flex' 'fontforge' 'gettext' 'gsfonts'
'perl' 'texinfo' 't1utils' 'texlive-core' 'netpbm')
optdepends=('netpbm: building HTML documentation'
'imagemagick: building HTML documentation'
'ttf-kochi-substitute: building HTML documentation'
'texi2html>=1.82: building HTML documentation'
'rsync: installing HTML documentation')
categories=('multimedia')
2013-01-15 02:08:45 +08:00
screenshot=('http://createdigitalmusic.com/files/2010/05/frescobaldi.png')
install=$pkgname.install
2013-01-15 02:08:45 +08:00
source=("http://download.linuxaudio.org/${pkgname}/sources/v${_pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('6db27f17d47e4f66a3b0716c65db3041')
build() {
cd "$srcdir/lilypond-$pkgver"
# python2 fix
for file in $(find . -name '*.py' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
./configure --prefix=/usr
make all
}
package() {
cd "$srcdir/lilypond-$pkgver"
make DESTDIR="$pkgdir/" install
}