diff options
author | Eric Hameleers <alien@slackware.com> | 2019-05-29 20:13:23 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-05-29 20:13:23 +0000 |
commit | 665620f15456ea28d9e9d8554339701efadb99c3 (patch) | |
tree | fac48c0cc32a862b0ccba37e6cdc2348d64b9cde /musescore/build | |
parent | fa13b73f8017e6be54a813bf23309ea193be0dc2 (diff) | |
download | asb-665620f15456ea28d9e9d8554339701efadb99c3.tar.gz asb-665620f15456ea28d9e9d8554339701efadb99c3.tar.xz |
musescore: updated to 3.1.0
Diffstat (limited to 'musescore/build')
-rwxr-xr-x | musescore/build/musescore.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/musescore/build/musescore.SlackBuild b/musescore/build/musescore.SlackBuild index 6a5adb4c..f4207775 100755 --- a/musescore/build/musescore.SlackBuild +++ b/musescore/build/musescore.SlackBuild @@ -31,8 +31,10 @@ # Build needs: # Needs: portaudio, portmidi, qt5 # Changelog: -# 3.0.5-1: 12/Mar/2019 by Eric Hameleers <alien@slackware.com> +# 3.0.5-1: 12/mar/2019 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 3.1.0-1: 29/may/2019 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh musescore.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -41,7 +43,8 @@ # ----------------------------------------------------------------------------- PRGNAM=musescore -VERSION=${VERSION:-3.0.5} +VERSION=${VERSION:-3.1.0} +MAJVER=$(echo $VERSION |cut -d. -f1,2) BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -57,7 +60,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.zip" -SRCURL="https://github.com/${PRGNAM}/MuseScore/releases/download/v${VERSION}/MuseScore-${VERSION}.zip" +SRCURL="https://github.com/${PRGNAM}/MuseScore/releases/download/v${MAJVER}/MuseScore-${VERSION}.zip" ## ## --- with a little luck, you won't have to edit below this point --- ## @@ -151,6 +154,10 @@ mkdir -p ${PRGNAM}-${VERSION} cd ${PRGNAM}-${VERSION} unzip -q ${SOURCE} +# Prevent an installation error: +sed -e 's/MuseScore_General-License.md/MuseScore_General_License.md/g' \ + -i share/sound/CMakeLists.txt + chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . |