desktop/musescore/PKGBUILD

31 lines
1.0 KiB
Bash
Raw Normal View History

pkgname=musescore
2016-05-01 17:45:21 +08:00
_pkgname=MuseScore
pkgver=2.0.3
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
2016-05-01 17:45:21 +08:00
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
2013-03-17 09:42:11 +08:00
'musescore.conf')
2016-05-01 17:45:21 +08:00
sha512sums=('4cd1301036781a54fba06870cc6a3235919ca702ccbe45dcfd74b1d3a1173fa124cca7bcec2fdfb080fb7e3eaf870ba1879ea6738c764836b2f7cae6f7c2d3c1'
2015-07-17 20:45:28 +08:00
'1cd9ff64ef0b53281cc73bb64539a2222b38ce92566154587229b78e39e8b2825b0590714c451c6e65cd5a5a31e3272ab38f8fba31afff6e64e7dcff902abfc1')
2012-03-14 22:04:42 +08:00
build() {
2016-05-01 17:45:21 +08:00
cd $_pkgname-$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() {
2016-05-01 17:45:21 +08:00
cd $_pkgname-$pkgver/build.release
2013-03-17 09:42:11 +08:00
2016-05-01 17:45:21 +08:00
make DESTDIR=$pkgdir install
install -Dm 644 ../assets/musescore-icon-round-512.png $pkgdir/usr/share/pixmaps/mscore.png
}