# Maintainer: David Seus # Contributor: lis # Contributor: Robert Kubosz # Contributor: David Runge # Contributor: Evgeniy Alekseev # Contributor: Sergej Pupykin # Contributor: Geoffroy Carrier # Contributor: William Rea # Contributor: Robert Emil Berge pkgname=lilypond-devel _pkgname=lilypond pkgver=2.25.12 pkgrel=1 pkgdesc="Lilypond music engraving program (development release)" arch=('x86_64') url="https://lilypond.org" license=('FDL1.3' 'GPL3' 'custom:OFL') groups=('pro-audio') # NOTE: use guile only with 2.24.x depends=('gcc-libs' 'ghostscript' 'glibc' 'gsfonts' 'guile2.2' 'guile') makedepends=('fontconfig' 'fontforge' 'freetype2' 'glib2' 'imagemagick' 'pango' 'python' 'rsync' 't1utils' 'texinfo' 'texlive-core' 'tex-gyre-fonts' 'texlive-langcyrillic' 'texlive-metapost' 'texlive-fontutils' 'texlive-plaingeneric' 'zip') optdepends=( 'python: for lilypond-book and other scripts' 'tex-gyre-fonts: for extra fonts' 'ttf-dejavu: for extra fonts' ) provides=('lilypond=${pkgver}') conflicts=('lilypond') source=("https://lilypond.org/downloads/sources/v${pkgver%.*}/$_pkgname-$pkgver.tar.gz") sha512sums=('c6dfeae28f904c3879623c9912105116850b2785f4f9358419e09789e1c3dd518dab2d9d4e67afdf6bf68ced03ae6068b43ac2dff0a3458856147ddd9eb1b319') b2sums=('a8603f30bf3841ac541dd69cb1e13aeb0e1569ea7f63ad2171b58cfc6e928ec1c5ed786cd7114aeac8b11fd9f7d477b98d0c7b371eb60a3566a64c84bb010d61') prepare() { cd "$_pkgname-$pkgver" autoconf --force --verbose } build() { cd "$_pkgname-$pkgver" ./configure --prefix=/usr \ GUILE_FLAVOR=guile-3.0 make -j3 make -j3 bytecode } package() { depends+=('libfontconfig.so' 'libfreetype.so' 'libglib-2.0.so' 'libgobject-2.0.so' 'libpangoft2-1.0.so' 'libpango-1.0.so') cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir" vimdir="/usr/share/vim/vimfiles" install make DESTDIR="$pkgdir" install-bytecode install -vDm 644 LICENSE.OFL -t "${pkgdir}/usr/share/licenses/${pkgname}/" install -vDm 644 {AUTHORS,NEWS}.txt README.md \ -t "${pkgdir}/usr/share/doc/${pkgname}/" # delete copied fonts, they are relied upon as optdepends # rm "${pkgdir}/usr/share/lilypond/${pkgver}/fonts/otf/"{C059,Nimbus,texgyre}*.otf }