summaryrefslogtreecommitdiff
path: root/manualPorts/lilypond/Pkgfile
blob: e746f81e270a1688258027a20f04d9e3570fbd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Music notation for everyone.
# URL: http://lilypond.org/web/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: xorg-libx11 fontforge guile freetype fontconfig pango python ghostscript texlive tex-gyre-fonts texinfo xorg-font-dejavu-ttf

name=lilypond
version=2.19.82
release=1
source=(http://lilypond.org/downloads/sources/v${version%.*}/lilypond-$version.tar.gz)

build() {
    cd lilypond-$version

    ./autogen.sh --noconfigure

    mkdir build
    cd build

    ../configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        --disable-documentation \
        --disable-pipe

    make
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/share/locale
    rm -rf $PKG/usr/share/emacs
    rmdir --ignore-fail-on-non-empty -p $PKG/usr/share/man/man1
}