diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/musescore/PKGBUILD | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/musescore/PKGBUILD')
-rw-r--r-- | pcr/musescore/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pcr/musescore/PKGBUILD b/pcr/musescore/PKGBUILD new file mode 100644 index 000000000..8acfecfeb --- /dev/null +++ b/pcr/musescore/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de +# Contributor: Cristian Maureira <saint [at] archlinux.cl> +# Contributor: Dr.Egg <rwhite @ archlinux . us> + +pkgname=musescore +pkgver=1.3 +pkgrel=3 +pkgdesc="A music score editor written in Qt" +arch=('i686' 'x86_64') +url="http://www.musescore.org/en/" +license=('GPL') +depends=('shared-mime-info' 'qtscriptgenerator' 'portaudio') +makedepends=('cmake' 'doxygen') +optdepends=('jack') +install=musescore.install +source=("http://downloads.sourceforge.net/mscore/mscore-${pkgver}.tar.bz2" +paths.patch system_qscriptgenerator.patch mime.xml qmake-qt4.patch desktop.patch) +md5sums=('e5fde2bef0d40ee7542e1f515a3919d1' + '28f61c298f53214adacbc8d43f9c43e9' + '51e590842a92cdea7efa01fd60fe715c' + '969696178e56de36f9af37d7da61baaa' + 'a9e1d9c1a891810172245c6021682258' + 'c8f37720422ae1e1a0fa02b284bd00ed') + +build() { + cd $srcdir/mscore-${pkgver} + export QT_PLUGINS_DIR=/usr/lib/qt4/plugins + [ -d build ] && make clean + patch -p1 < $srcdir/system_qscriptgenerator.patch + patch -p1 < $srcdir/paths.patch + patch -p1 < $srcdir/desktop.patch + patch -p1 < $srcdir/qmake-qt4.patch + make PREFIX=/usr release +} + +package() { + cd $srcdir/mscore-${pkgver} + make PREFIX=/usr DESTDIR="$pkgdir" install + cd $pkgdir/usr/share/mscore-$pkgver/man + install -d $pkgdir/usr/share/doc/$pkgname + cp * $pkgdir/usr/share/doc/$pkgname/ + cd ../.. + rm -r $pkgdir/usr/share/mscore-$pkgver/man + install -Dm644 $srcdir/mime.xml \ + $pkgdir/usr/share/mime/packages/x-musescore.xml +} |