summaryrefslogtreecommitdiff
path: root/community/lilypond
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
committerroot <root@rshg054.dnsready.net>2013-06-09 00:51:01 -0700
commit7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (patch)
tree9ec661d7828b93bd4d24723647adc0701d87eda2 /community/lilypond
parente90166c70f3a2bd27d8c914491f7e0510855fd3f (diff)
Sun Jun 9 00:50:45 PDT 2013
Diffstat (limited to 'community/lilypond')
-rw-r--r--community/lilypond/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/lilypond/PKGBUILD b/community/lilypond/PKGBUILD
index 2a2529111..9502f54ef 100644
--- a/community/lilypond/PKGBUILD
+++ b/community/lilypond/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 82279 2013-01-14 09:20:59Z spupykin $
+# $Id: PKGBUILD 92554 2013-06-08 11:18:50Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
@@ -6,12 +6,12 @@
pkgname=lilypond
pkgver=2.16.2
-pkgrel=1
+pkgrel=3
pkgdesc="An automated music engraving system"
arch=('i686' 'x86_64')
url="http://lilypond.org"
license=('GPL')
-depends=('guile' 'python2' 'texlive-core' 'ghostscript' 'pango' 'fontconfig')
+depends=('guile1.8' 'python2' 'texlive-core' 'ghostscript' 'pango' 'fontconfig')
makedepends=('flex' 'bison' 'gettext' 'mftrace' 'texinfo' 'fontforge' 't1utils'
'gsfonts' 'texi2html')
options=('emptydirs')
@@ -19,7 +19,7 @@ install=lilypond.install
source=(http://download.linuxaudio.org/lilypond/sources/v2.16/$pkgname-$pkgver.tar.gz)
md5sums=('6db27f17d47e4f66a3b0716c65db3041')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
@@ -28,9 +28,18 @@ build() {
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
+ sed -i 's|GUILE_CFLAGS=.*|GUILE_CFLAGS="`pkg-config --cflags guile-1.8`"|' configure
+ sed -i 's|GUILE_LDFLAGS=.*|GUILE_LDFLAGS="`pkg-config --libs guile-1.8`"|' configure
+
rm -rf python/out/
+}
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export PYTHON=/usr/bin/python2
+ export GUILE=/usr/bin/guile1.8
+ export GUILE_CONFIG=/usr/bin/guile-config1.8
+ ./configure --prefix=/usr --disable-documentation
make
}