diff options
Diffstat (limited to 'misc/QCMA/QCMA.SlackBuild')
-rw-r--r-- | misc/QCMA/QCMA.SlackBuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/misc/QCMA/QCMA.SlackBuild b/misc/QCMA/QCMA.SlackBuild index 0a0a8a3cc1..f4d3139eee 100644 --- a/misc/QCMA/QCMA.SlackBuild +++ b/misc/QCMA/QCMA.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=QCMA -VERSION=${VERSION:-0.3.13} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -71,15 +71,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ "${QT5:-no}" == "yes" ]; then - lrelease-qt5 $SRCNAM.pro - qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \ - QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro -else - lrelease $SRCNAM.pro - qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \ - QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro -fi +lrelease-qt5 $SRCNAM.pro +qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \ +QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro make sed -i "s|usr/local|usr/|g" */Makefile |