summaryrefslogtreecommitdiffstats
path: root/system/qtfm
diff options
context:
space:
mode:
author Ole-André Rodlie <ole.andre.rodlie@gmail.com>2018-08-25 12:27:39 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-01 07:32:16 +0700
commit9729e950f08a221b77f48aaddf92d92487675a54 (patch)
tree15b57444c18bdc45f29a9adcf8969a0b638a472e /system/qtfm
parent72f106c0e56e08a139ba9b933285eb4edf2dfd72 (diff)
downloadslackbuilds-9729e950f08a221b77f48aaddf92d92487675a54.tar.gz
slackbuilds-9729e950f08a221b77f48aaddf92d92487675a54.tar.xz
system/qtfm: Updated for version 6.1.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/qtfm')
-rw-r--r--system/qtfm/README6
-rw-r--r--system/qtfm/qtfm.SlackBuild18
-rw-r--r--system/qtfm/qtfm.info6
3 files changed, 19 insertions, 11 deletions
diff --git a/system/qtfm/README b/system/qtfm/README
index 24cbd05f25..8df24e1809 100644
--- a/system/qtfm/README
+++ b/system/qtfm/README
@@ -1,2 +1,4 @@
-QtFM is a small, lightweight file manager for Linux/BSD based on
-pure Qt and works great with minimal desktop environments like Fluxbox/Openbox.
+QtFM is a small, lightweight file manager for Linux/BSD based on pure Qt
+and works great with minimal desktop environments like Fluxbox/Openbox.
+
+Optional dependency: qt5 is recommended.
diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild
index a3e1a94248..d2e3cf4b58 100644
--- a/system/qtfm/qtfm.SlackBuild
+++ b/system/qtfm/qtfm.SlackBuild
@@ -25,7 +25,7 @@
# Modified by Ole-André Rodlie, <ole.andre.rodlie@gmail.com>
PRGNAM=qtfm
-VERSION=${VERSION:-6.1.0}
+VERSION=${VERSION:-6.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,12 +66,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake \
+if pkg-config --exists Qt5Core; then
+ QMAKE="qmake-qt5"
+else
+ QMAKE="qmake"
+fi
+
+$QMAKE \
PREFIX=/usr \
DOCDIR=/usr/doc \
MANDIR=/usr/man \
diff --git a/system/qtfm/qtfm.info b/system/qtfm/qtfm.info
index 964ce30a10..fcaeb47f1d 100644
--- a/system/qtfm/qtfm.info
+++ b/system/qtfm/qtfm.info
@@ -1,8 +1,8 @@
PRGNAM="qtfm"
-VERSION="6.1.0"
+VERSION="6.1.1"
HOMEPAGE="https://qtfm.eu"
-DOWNLOAD="https://github.com/rodlie/qtfm/archive/6.1.0/qtfm-6.1.0.tar.gz"
-MD5SUM="79cabf71f2647ccf90cd37f6114e837d"
+DOWNLOAD="https://github.com/rodlie/qtfm/archive/6.1.1/qtfm-6.1.1.tar.gz"
+MD5SUM="876e7111daf7b9ab4eb27cf53a0e94fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""