updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / musescore / PKGBUILD
blobd20f9f3cc245000fc80de63755b995befe666a46
1 # $Id: PKGBUILD 58445 2011-11-12 19:02:51Z andrea $
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de
3 # Contributor: Cristian Maureira <saint [at] archlinux.cl>
4 # Contributor: Dr.Egg <rwhite @ archlinux . us>
6 pkgname=musescore
7 pkgver=1.1
8 pkgrel=4
9 pkgdesc="A music score editor written in Qt"
10 arch=('i686' 'x86_64')
11 url="http://www.musescore.org/en/"
12 license=('GPL')
13 depends=('qt' 'qtwebkit' 'libsndfile' 'qtscriptgenerator' 'portaudio')
14 makedepends=('cmake' 'doxygen')
15 optdepends=('jack')
16 install=musescore.install
17 source=("http://downloads.sourceforge.net/mscore/mscore-${pkgver}.tar.bz2"
18   '20-fix-dso-linking-et-al.patch' 'paths.patch' 'enable_portaudio_as_default.patch')
19 md5sums=('68b43af92093a16f7f074c0eb560a867'
20          'f458c6604c04b9fffc9318e70dbdd066'
21          'a0419cbe08b655820d52ea440653b1d3'
22          'f30e9e6b60e789a2931016f4cf9d889a')
24 build() {
25   cd $srcdir/mscore-${pkgver}
26   export QT_PLUGINS_DIR=/usr/lib/qt/plugins 
27   [ -d build ] && make clean
28   patch -p1 < $srcdir/paths.patch
29   patch -p1 < $srcdir/20-fix-dso-linking-et-al.patch
30   patch -p2 < $srcdir/enable_portaudio_as_default.patch
31   make PREFIX=/usr release 
33 package() {
34   cd $srcdir/mscore-${pkgver}
35   make DESTDIR="$pkgdir" install