mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
936 B
Bash
31 lines
936 B
Bash
pkgname=musescore
|
|
_pkgname=MuseScore
|
|
pkgver=2.0.3
|
|
pkgrel=2
|
|
pkgdesc="A music score editor written in Qt"
|
|
arch=('x86_64')
|
|
url="http://www.musescore.org/en/"
|
|
license=('GPL')
|
|
depends=('libpulse' 'portaudio' 'qt5-quickcontrols' 'qt5-svg' 'qt5-tools' 'qt5-webkit')
|
|
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
|
|
optdepends=('lame: MP3 export')
|
|
categories=('multimedia')
|
|
install=musescore.install
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
|
|
'musescore.conf')
|
|
sha256sums=('66c613f27fcc07252e856a51ed1162a9921f3d11ac130260763e2178b7098b01'
|
|
'397b5431137d468a64b768670efdf385c27cb7298ee9295a32323a2610427928')
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver
|
|
|
|
make PREFIX='/usr' release
|
|
}
|
|
|
|
package() {
|
|
cd $_pkgname-$pkgver/build.release
|
|
|
|
make DESTDIR=$pkgdir install
|
|
install -Dm 644 ../assets/musescore-icon-round-512.png $pkgdir/usr/share/pixmaps/mscore.png
|
|
}
|