diff options
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 a3e1a94248fc1..d2e3cf4b584f6 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 \ |