[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Wed Mar 17 03:42:54 UTC 2021
Date: Wednesday, March 17, 2021 @ 03:42:54
Author: archange
Revision: 892888
Initial addition of frescobaldi to [community]
Added:
frescobaldi/
frescobaldi/repos/
frescobaldi/trunk/
frescobaldi/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: frescobaldi/trunk/PKGBUILD
===================================================================
--- frescobaldi/trunk/PKGBUILD (rev 0)
+++ frescobaldi/trunk/PKGBUILD 2021-03-17 03:42:54 UTC (rev 892888)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=frescobaldi
+pkgver=3.1.3
+pkgrel=3
+pkgdesc="A LilyPond sheet music text editor"
+arch=(any)
+url="http://www.frescobaldi.org/"
+license=(GPL)
+depends=(
+ python python-pyqt5 python-pyqt5-webengine python-ly poppler
+ python-poppler-qt5 qt5-base qt5-svg qt5-webkit
+)
+makedepends=(python-setuptools)
+optdepends=(
+ 'lilypond: music engraving'
+ 'python-pygame: MIDI input and playback'
+ 'python-pycups: printing to a CUPS server'
+ 'hyphen-lang: hyphenation patterns for desired languages'
+)
+source=(https://github.com/frescobaldi/frescobaldi/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('9c7f5036f367691454753f1db06ea02c33501c1e4f24bfb47485103911f3e9c1')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # Provided by hyphen-*
+ rm -f frescobaldi_app/hyphdicts/hyph_*.dic
+ rm -f frescobaldi_app/hyphdicts/README*
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}/" --skip-build --optimize=1
+}
More information about the arch-commits
mailing list