summaryrefslogtreecommitdiff
path: root/pcr/musescore/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-03 15:32:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-03 15:32:48 -0300
commite442eeac8bbd714f615e5b19dd7ed8cd92f86a4e (patch)
treedcd7fa56fd83343658028f05d570f26708ca6339 /pcr/musescore/PKGBUILD
parent12c82a2bd2d69ea08c27fc8205bbce8728f5ba2b (diff)
parentcedcb7fc457bd0519c90d0e9748cce7ee4ff5714 (diff)
downloadabslibre-e442eeac8bbd714f615e5b19dd7ed8cd92f86a4e.tar.gz
abslibre-e442eeac8bbd714f615e5b19dd7ed8cd92f86a4e.tar.bz2
abslibre-e442eeac8bbd714f615e5b19dd7ed8cd92f86a4e.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/musescore/PKGBUILD')
-rw-r--r--pcr/musescore/PKGBUILD46
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
+}