aboutsummaryrefslogtreecommitdiffstats
path: root/musescore/Pkgfile
blob: e2f96ca1b0ceac9fa5a87522ace875470b4103b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}