summaryrefslogtreecommitdiffstats
path: root/system/qtfm/qtfm.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2018-07-18 17:28:12 +0200
committer Matteo Bernardini2018-07-18 17:28:12 +0200
commit3eb693602be9a059bfa02fee66fb2d04894e58c1 (patch)
tree0cbd5eb85e6a2182f25850fa5bab9c852b256eb3 /system/qtfm/qtfm.SlackBuild
parent296ae062cf9db17716afa30ab06ad00f1d768fb9 (diff)
downloadslackbuilds-3eb693602be9a059bfa02fee66fb2d04894e58c1.tar.gz
20180718.1 global branch merge.current-20180718.1
Happy 25th anniversary, Slackware! 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