summaryrefslogtreecommitdiffstats
path: root/system/qtfm/qtfm.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-28 15:01:11 +0200
committer Matteo Bernardini2018-06-28 15:01:11 +0200
commitd0c77ec2589d77ecc942b08aee394f5c6bf55959 (patch)
tree0fdf7a13032cdcf3909880aa9215b4c6e9bea99b /system/qtfm/qtfm.SlackBuild
parent31ffa0993a78202724c2a79363e4831623be7fcf (diff)
downloadslackbuilds-current-20180628.1.tar.gz
20180628.1 global branch merge.current-20180628.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/qtfm/qtfm.SlackBuild')
-rw-r--r--system/qtfm/qtfm.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild
index 59cb3c3203..d7a2e4eb1d 100644
--- a/system/qtfm/qtfm.SlackBuild
+++ b/system/qtfm/qtfm.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qtfm
-VERSION=${VERSION:-5.5}
+VERSION=${VERSION:-5.9}
+SRCVER=${SRCVER:-158787}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM
+unzip $CWD/$SRCVER-$PRGNAM.zip
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -69,6 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/gcc6.patch
+
# Set doc path to /usr/doc/$PRGNAM-$VERSION in qtfm.pro
sed -i "s,usr/share/doc/$PRGNAM,usr/doc/$PRGNAM-$VERSION," qtfm.pro