summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmusescore/build/musescore.SlackBuild13
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 .