2010-11-22 20:48:30 +08:00
|
|
|
#
|
2013-01-15 02:08:45 +08:00
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
2010-11-22 20:48:30 +08:00
|
|
|
#
|
2013-01-15 02:08:45 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
# contributor Giuseppe Calà <jiveaxe@gmail.com>
|
2010-11-22 20:48:30 +08:00
|
|
|
|
|
|
|
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
|
2011-06-11 04:45:21 +08:00
|
|
|
pkgrel=1
|
2010-11-22 20:48:30 +08:00
|
|
|
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')
|
2010-11-22 20:48:30 +08:00
|
|
|
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')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2013-01-15 02:08:45 +08:00
|
|
|
screenshot=('http://createdigitalmusic.com/files/2010/05/frescobaldi.png')
|
2010-11-22 20:48:30 +08:00
|
|
|
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')
|
2010-11-22 20:48:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|