From 665620f15456ea28d9e9d8554339701efadb99c3 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 29 May 2019 20:13:23 +0000 Subject: musescore: updated to 3.1.0 --- musescore/build/musescore.SlackBuild | 13 ++++++++++--- 1 file 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 +# 3.0.5-1: 12/mar/2019 by Eric Hameleers # * Initial build. +# 3.1.0-1: 29/may/2019 by Eric Hameleers +# * 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 . -- cgit v1.2.3