summaryrefslogtreecommitdiff
path: root/multimedia/MuseScore/MuseScore.SlackBuild
diff options
context:
space:
mode:
authornotklaatu <klaatu@member.fsf.org>2019-03-22 15:47:51 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-22 22:31:47 +0700
commit759c246d7f55f84061ba5045c180f0ba53ad3b81 (patch)
tree9d5e188fe32412a711aeecc440b97e79bcc3c6e4 /multimedia/MuseScore/MuseScore.SlackBuild
parentfdbcb3326bc0077d325bac593996ba4479502961 (diff)
downloadslackbuilds-759c246d7f55f84061ba5045c180f0ba53ad3b81.tar.gz
multimedia/MuseScore: Updated for version 3.0.4
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/MuseScore/MuseScore.SlackBuild')
-rw-r--r--multimedia/MuseScore/MuseScore.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/MuseScore/MuseScore.SlackBuild b/multimedia/MuseScore/MuseScore.SlackBuild
index bc7ac9dca2..cdbf20d539 100644
--- a/multimedia/MuseScore/MuseScore.SlackBuild
+++ b/multimedia/MuseScore/MuseScore.SlackBuild
@@ -3,7 +3,7 @@
# Maintained by Klaatu at member.fsf dot org
PRGNAM=MuseScore
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -26,7 +26,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mkdir $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip -d $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,8 +52,9 @@ else
LIBDIRSUFFIX=""
fi
- make release PREFIX=/usr CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" LDFLAGS="-pthread"
- make install PREFIX=/usr DESTDIR=$PKG UPDATE_CACHE=FALSE
+sed -i 's| qmake| qmake-qt5|' build/FindQt5.cmake
+make release PREFIX=/usr CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" LDFLAGS="-pthread"
+make install PREFIX=/usr DESTDIR=$PKG UPDATE_CACHE=FALSE
mkdir -p $PKG/usr/man/man1
mv $PKG/usr/share/man/* $PKG/usr/man/