musescore: fix to use automake

This commit is contained in:
Chaoting Liu 2018-12-27 16:30:23 +01:00
parent 36ddb90112
commit bf409ddcb8
2 changed files with 5 additions and 12 deletions

View File

@ -8,7 +8,7 @@ url="https://musescore.org/en/"
license=('GPL') license=('GPL')
depends=('alsa-lib' 'libpulse' 'libsndfile' 'libvorbis' 'portaudio' 'portmidi' 'qt5-base' depends=('alsa-lib' 'libpulse' 'libsndfile' 'libvorbis' 'portaudio' 'portmidi' 'qt5-base'
'qt5-declarative' 'qt5-svg' 'qt5-tools' 'qt5-webengine' 'qt5-xmlpatterns' 'zlib') 'qt5-declarative' 'qt5-svg' 'qt5-tools' 'qt5-webengine' 'qt5-xmlpatterns' 'zlib')
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core' 'ccache') makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
optdepends=('lame: MP3 export') optdepends=('lame: MP3 export')
categories=('multimedia') categories=('multimedia')
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz" source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
@ -21,17 +21,11 @@ prepare() {
} }
build() { build() {
cd build cd $_pkgname-$pkgver
cmake ../$_pkgname-$pkgver \ make PREFIX='/usr' release
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_FREETYPE=ON
make lrelease
make
} }
package() { package() {
cd build cd $_pkgname-$pkgver
make DESTDIR=$pkgdir install make DESTDIR=$pkgdir -C build.release install
} }

View File

@ -1 +0,0 @@
snd_seq