diff options
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 |
commit | 9729e950f08a221b77f48aaddf92d92487675a54 (patch) | |
tree | 15b57444c18bdc45f29a9adcf8969a0b638a472e /system/qtfm/qtfm.SlackBuild | |
parent | 72f106c0e56e08a139ba9b933285eb4edf2dfd72 (diff) |
system/qtfm: Updated for version 6.1.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/qtfm/qtfm.SlackBuild')
-rw-r--r-- | system/qtfm/qtfm.SlackBuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild index a3e1a94248fc..d2e3cf4b584f 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 \ |