misc/qtspell: Updated for version 0.8.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
wru 2016-07-27 21:22:56 +01:00 committed by Willy Sudiarto Raharjo
parent 2646f5df76
commit 30837a23ef
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 9 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="qtspell"
VERSION="0.7.4"
VERSION="0.8.1"
HOMEPAGE="https://github.com/manisandro/qtspell/"
DOWNLOAD="https://github.com/manisandro/qtspell/releases/download/0.7.4/qtspell-0.7.4.tar.xz"
MD5SUM="804add6d825f3dc2fe9486503086100b"
DOWNLOAD="https://github.com/manisandro/qtspell/releases/download/0.8.1/qtspell-0.8.1.tar.xz"
MD5SUM="1131a80f10b41d32da280a366dde0282"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""