diff options
author | root <root@rshg054.dnsready.net> | 2011-12-15 23:15:01 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-15 23:15:01 +0000 |
commit | ac25f0b5aaf7aff394a8df695be995ec8463e264 (patch) | |
tree | 040d788c6c53b1f114363d01336bafa980a942ee /community/lilypond | |
parent | f96b67a7733c348213a216ba6472d43614b44f04 (diff) |
Thu Dec 15 23:15:01 UTC 2011
Diffstat (limited to 'community/lilypond')
-rw-r--r-- | community/lilypond/PKGBUILD | 7 | ||||
-rw-r--r-- | community/lilypond/lilypond.install | 48 |
2 files changed, 52 insertions, 3 deletions
diff --git a/community/lilypond/PKGBUILD b/community/lilypond/PKGBUILD index 0765a2f22..027d1b4a9 100644 --- a/community/lilypond/PKGBUILD +++ b/community/lilypond/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 53180 2011-07-31 18:44:33Z spupykin $ +# $Id: PKGBUILD 60441 2011-12-14 09:14:47Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Geoffroy Carrier <geoffroy@archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> @@ -6,7 +6,7 @@ pkgname=lilypond pkgver=2.14.2 -pkgrel=1 +pkgrel=2 pkgdesc="An automated music engraving system" arch=('i686' 'x86_64') url="http://lilypond.org" @@ -15,6 +15,7 @@ depends=('guile' 'python2' 'texlive-core' 'ghostscript' 'pango' 'fontconfig') makedepends=('flex' 'bison' 'gettext' 'mftrace' 'texinfo' 'fontforge' 't1utils' 'gsfonts' 'texi2html') options=('emptydirs') +install=lilypond.install source=(http://download.linuxaudio.org/lilypond/sources/v2.14/$pkgname-$pkgver.tar.gz http://arch.p5n.pp.ru/~sergej/dl/lilypond-fonts.tar.bz2 texlive-workaround.patch) @@ -41,5 +42,5 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install - cp -a $srcdir/lilypond-fonts/usr/share/lilypond/current/fonts/* $pkgdir/usr/share/lilypond/$pkgver/fonts/ +# cp -a $srcdir/lilypond-fonts/usr/share/lilypond/current/fonts/* $pkgdir/usr/share/lilypond/$pkgver/fonts/ } diff --git a/community/lilypond/lilypond.install b/community/lilypond/lilypond.install new file mode 100644 index 000000000..934e7b435 --- /dev/null +++ b/community/lilypond/lilypond.install @@ -0,0 +1,48 @@ +infodir=usr/share/info +filelist=(music-glossary.info + lilypond-web.info + lilypond-contributor.info + lilypond-contributor.info-1 + lilypond-contributor.info-2 + lilypond-internals.info-1 + lilypond-internals.info-2 + lilypond-internals.info-3 + lilypond-internals.info-4 + lilypond-internals.info-5 + lilypond-notation.info-1 + lilypond-notation.info-2 + lilypond-notation.info-3 + lilypond-notation.info-4 + lilypond-notation.info-5 + lilypond-notation.info-6 + lilypond-usage.info + lilypond-learning.info + lilypond-web.info-1 + lilypond-web.info-2 + lilypond-internals.info + lilypond-essay.info + lilypond-notation.info + lilypond-learning.info-1 + lilypond-learning.info-2 + lilypond-extending.info + lilypond-changes.info) + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |