aboutsummaryrefslogtreecommitdiff
path: root/misc/qtspell/qtspell.SlackBuild
diff options
context:
space:
mode:
authorwru <gnuandpenguinos@gmail.com>2016-07-27 21:22:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit30837a23ef2246b2cb57f19b1d9f9ec30f28b59f (patch)
tree6de8fe712b1c55d6379b3d24ac4c0beb15a05880 /misc/qtspell/qtspell.SlackBuild
parent2646f5df7655a52e24cbc3d9f40d934e24113898 (diff)
misc/qtspell: Updated for version 0.8.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/qtspell/qtspell.SlackBuild')
-rw-r--r--misc/qtspell/qtspell.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/qtspell/qtspell.SlackBuild b/misc/qtspell/qtspell.SlackBuild
index 525547b28361..c8a6fa552238 100644
--- a/misc/qtspell/qtspell.SlackBuild
+++ b/misc/qtspell/qtspell.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qtspell
-# Copyright 2015 wru <gnuandpenguinos@gmail.com>
+# Copyright 2016 wru <gnuandpenguinos@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qtspell
-VERSION=${VERSION:-0.7.4}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -76,7 +76,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG