aboutsummaryrefslogtreecommitdiffstats
path: root/musescore/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'musescore/Pkgfile')
-rw-r--r--musescore/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/musescore/Pkgfile b/musescore/Pkgfile
new file mode 100644
index 0000000..e2f96ca
--- /dev/null
+++ b/musescore/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Éditeur de partition de musique en Qt.
+# URL: http://bitmath.org/code/mtdev
+# Maintainer: http://www.musescore.org/
+# Packager: piernov <piernov@piernov.org>
+# Depends on: libsndfile, qtwebkit, jack, portaudio, qtscriptgenerator, cmake
+# Run on: libsndfile,qtwebkit,jack,portaudio
+
+name=musescore
+version=1.2
+release=1
+source=(http://downloads.sourceforge.net/mscore/mscore-$version.tar.bz2
+ paths.patch
+ 64bit.patch
+ mime.xml)
+
+build() {
+ cd mscore-$version
+ export QT_PLUGINS_DIR=/usr/lib/qt/plugins
+ if [ -d build ]; then make clean; fi
+ patch -p1 < ../paths.patch
+ patch -p1 < ../64bit.patch
+ make PREFIX=/usr release
+ make DESTDIR=$PKG install
+ install -Dm644 ../mime.xml $PKG/usr/share/mime/packages/x-musescore.xml
+}