From e720ee9fdef41aff0ebbab2d792c5956040e6bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 20 Nov 2015 15:22:03 -0300 Subject: frescobaldi: add new package to [pcr] --- pcr/frescobaldi/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 pcr/frescobaldi/PKGBUILD (limited to 'pcr/frescobaldi/PKGBUILD') diff --git a/pcr/frescobaldi/PKGBUILD b/pcr/frescobaldi/PKGBUILD new file mode 100644 index 000000000..48d757da6 --- /dev/null +++ b/pcr/frescobaldi/PKGBUILD @@ -0,0 +1,57 @@ +# Contributor (Arch): David Virgilio +# Contributor (Arch): David Zaragoza +# Contributor (Arch): Clément Démoulins +# Maintainer (Arch): Raphaël Doursenaud + +pkgname=frescobaldi +pkgver=2.18.1 +pkgrel=2 +pkgdesc="A LilyPond sheet music text editor." +arch=('any') +url="http://www.frescobaldi.org/" +license=('GPL') +depends=( + 'hyphen' + 'poppler' + 'python>=3.2' + 'python-ly>=0.9' + 'python-poppler-qt4' + 'python-pyqt4>=4.8.3' + 'qt4>=4.7' + 'tango-icon-theme' +) +optdepends=( + 'lilypond: Music engraving (recommended)' +# python-portmidi is currently a python2 package +# 'python-portmidi: MIDI playback (default engine)' + 'python-pygame-hg: MIDI playback (alternate engine)' + 'portmidi: MIDI playback (fallback engine)' + 'hyphen-de: German hyphenation rules' + 'hyphen-en: English hyphenation rules' + 'hyphen-es: Spanish hyphenation rules' + 'hyphen-fr: French hyphenation rules' + 'hyphen-hu: Hungarian hyphenation rules' + 'hyphen-it: Italian hyphenation rules' + 'hyphen-nl: Dutch hyphenation rules' + 'hyphen-ro: Romanian hyphenation rules' +) +source=(https://github.com/wbsoft/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +install=$pkgname.install +md5sums=('3cf2aae0d74717d5a7aff089fe46bc8c') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + # Work around a bug in setuptools. Should be fixed soon. + sed -i '/win/ d' setup.cfg + # Provided by tango-icon-theme + rm -rf "frescobaldi_app/icons/Tango" + # Provided by hyphen-* + rm -rf "frescobaldi_app/hyphdicts" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-2-g168b