blob: ee3a8212e547366ec58709a71f56d85644e7e96e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Cristian Maureira <saint@archlinux.cl>
# Contributor: Dr.Egg <rwhite@archlinux.us>
pkgname=musescore-git
pkgver=r11397.6a0fb3f
_branch=master
pkgrel=1
pkgdesc='Latest git-version of the sheet music editor MuseScore'
arch=('i686' 'x86_64')
url='https://github.com/musescore/MuseScore'
license=('GPL')
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')
makedepends=('cmake'
'doxygen'
'git'
'lame'
'qt5-script'
'texlive-core')
optdepends=('lame: MP3 export')
install='musescore.install'
source=("git+$url.git#branch=$_branch")
md5sums=('SKIP')
pkgver() {
cd MuseScore
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd MuseScore
make revision
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DMSCORE_INSTALL_SUFFIX="-git" \
-DMUSESCORE_LABEL="Git Build" \
-DBUILD_LAME="ON" \
-DCMAKE_SKIP_RPATH="FALSE" \
-DBUILD_JACK=ON \
-DBUILD_PORTAUDIO=ON .
make lrelease
make
}
package() {
cd MuseScore
make DESTDIR="${pkgdir}" SUFFIX="-git" LABEL="Git Build" install
}
|