summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphaël Doursenaud2015-12-24 14:35:00 +0100
committerRaphaël Doursenaud2015-12-24 14:35:00 +0100
commit8d539afb7f8f4870530b40c922f158778bfe5e4d (patch)
tree13a439788aba11a6f9b418da385876903459d82d
parent1411706127018dec43d232542e0319f961d15386 (diff)
downloadaur-8d539afb7f8f4870530b40c922f158778bfe5e4d.tar.gz
Don't remove the whole hyphdicts folder
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d4b78907cc..d3f4676855b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Thu Dec 24 13:35:00 UTC 2015
pkgbase = frescobaldi
pkgdesc = A LilyPond sheet music text editor.
pkgver = 2.18.1
- pkgrel = 2
+ pkgrel = 3
url = http://www.frescobaldi.org/
install = frescobaldi.install
arch = any
@@ -15,7 +17,7 @@ pkgbase = frescobaldi
depends = qt4>=4.7
depends = tango-icon-theme
optdepends = lilypond: Music engraving (recommended)
- optdepends = python-pygame-hg: MIDI playback (alternate engine)
+ optdepends = python-pygame: MIDI playback (alternate engine)
optdepends = portmidi: MIDI playback (fallback engine)
optdepends = hyphen-de: German hyphenation rules
optdepends = hyphen-en: English hyphenation rules
diff --git a/PKGBUILD b/PKGBUILD
index c0b7a46d848..ae08776a9ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=frescobaldi
pkgver=2.18.1
-pkgrel=2
+pkgrel=3
pkgdesc="A LilyPond sheet music text editor."
arch=('any')
url="http://www.frescobaldi.org/"
@@ -24,7 +24,7 @@ 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)'
+ 'python-pygame: MIDI playback (alternate engine)'
'portmidi: MIDI playback (fallback engine)'
'hyphen-de: German hyphenation rules'
'hyphen-en: English hyphenation rules'
@@ -36,22 +36,20 @@ optdepends=(
'hyphen-ro: Romanian hyphenation rules'
)
source=(https://github.com/wbsoft/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-install=$pkgname.install
+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
+ cd "${srcdir}/${pkgname}-${pkgver}"
# Provided by tango-icon-theme
rm -rf "frescobaldi_app/icons/Tango"
# Provided by hyphen-*
- rm -rf "frescobaldi_app/hyphdicts"
+ rm -f "frescobaldi_app/hyphdicts/hyph_*.dic"
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
}
# vim:set ts=2 sw=2 et: