desktop/musescore/PKGBUILD

30 lines
1.0 KiB
Bash
Raw Normal View History

pkgname=musescore
2015-07-17 20:45:28 +08:00
pkgver=2.0.2
2015-03-22 11:01:26 +08:00
pkgrel=1
2012-03-14 22:04:42 +08:00
pkgdesc="A music score editor written in Qt"
2013-03-02 01:29:44 +08:00
arch=('x86_64')
url="http://www.musescore.org/en/"
license=('GPL')
2015-03-22 11:01:26 +08:00
depends=('libpulse' 'portaudio' 'qt5-quick1' 'qt5-svg' 'qt5-tools')
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
optdepends=('lame: MP3 export')
categories=('multimedia')
2012-03-14 22:04:42 +08:00
install=musescore.install
2015-03-22 11:01:26 +08:00
source=("musescore-${pkgver}.tar.gz::https://github.com/musescore/MuseScore/archive/v${pkgver}.tar.gz"
2013-03-17 09:42:11 +08:00
'musescore.conf')
2015-07-17 20:45:28 +08:00
sha512sums=('aeb5f0c696a3c0796604c687cb3ea7303dd3536da71cf1b1e71f909cd5caa0864a879ffb19931f6ab0dc6fff854c9f2e05a64905e186b417fa954b73e3e9f08c'
'1cd9ff64ef0b53281cc73bb64539a2222b38ce92566154587229b78e39e8b2825b0590714c451c6e65cd5a5a31e3272ab38f8fba31afff6e64e7dcff902abfc1')
2012-03-14 22:04:42 +08:00
build() {
2015-03-22 11:01:26 +08:00
cd MuseScore-${pkgver}
2013-03-02 01:29:44 +08:00
2015-03-22 11:01:26 +08:00
make PREFIX='/usr' release
}
2013-03-17 09:42:11 +08:00
package() {
2015-03-22 11:01:26 +08:00
cd MuseScore-${pkgver}/build.release
2013-03-17 09:42:11 +08:00
2015-03-22 11:01:26 +08:00
make DESTDIR="${pkgdir}" install
2015-07-17 20:45:28 +08:00
install -Dm 644 ../assets/musescore-icon-round-512.png "${pkgdir}"/usr/share/pixmaps/mscore.png
}