added community/musescore

This commit is contained in:
Kevin Mihelich 2015-10-13 01:01:23 +00:00
parent 3933d9bb6c
commit bb3193f605
2 changed files with 60 additions and 0 deletions

45
community/musescore/PKGBUILD Executable file
View file

@ -0,0 +1,45 @@
# $Id$
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Cristian Maureira <saint@archlinux.cl>
# Contributor: Dr.Egg <rwhite@archlinux.us>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - upstream patch, should be in next version
pkgname=musescore
pkgver=2.0.2
pkgrel=1
pkgdesc='Create, play and print beautiful sheet music'
arch=('i686' 'x86_64')
url='http://musescore.org/'
license=('GPL')
depends=('desktop-file-utils' 'gtk-update-icon-cache' 'libpulse' 'portaudio'
'qt5-quick1' 'qt5-svg' 'qt5-tools' 'shared-mime-info')
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
optdepends=('lame: MP3 export')
install='musescore.install'
source=("musescore-${pkgver}.tar.gz::https://github.com/musescore/MuseScore/archive/v${pkgver}.tar.gz"
'https://github.com/musescore/MuseScore/commit/78605d6aefe45f44edd38bf38d027f0f0e53feeb.patch')
sha256sums=('92f35403d1cb87bdb080a18bc37b2023a998ed9a26e7f50a5b6d30dbc3c1db45'
'5ca08b7cc3dc5f0269150faea7651745d96fa450fa83a406b9bc795baac10cd6')
prepare() {
cd MuseScore-${pkgver}
patch -p1 -i ../78605d6aefe45f44edd38bf38d027f0f0e53feeb.patch
}
build() {
cd MuseScore-${pkgver}
make PREFIX='/usr' release
}
package() {
cd MuseScore-${pkgver}/build.release
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:

View file

@ -0,0 +1,15 @@
post_install() {
gtk-update-icon-cache -fqt /usr/share/icons/hicolor
update-desktop-database -q
update-mime-database /usr/share/mime
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
# vim: ts=2 sw=2 et: