summaryrefslogtreecommitdiff
path: root/misc/QCMA/QCMA.SlackBuild
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2016-11-24 21:29:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit421864d2280c56ea18560c0c78434ccb0f416329 (patch)
tree3f35b61fe87884ac7fbda3ca8a3b034dfa65bb67 /misc/QCMA/QCMA.SlackBuild
parent80f0a734f8dd32b185b90f7aef1160578de44fb2 (diff)
downloadslackbuilds-421864d2280c56ea18560c0c78434ccb0f416329.tar.gz
misc/QCMA: Updated for version 0.4.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/QCMA/QCMA.SlackBuild')
-rw-r--r--misc/QCMA/QCMA.SlackBuild16
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