aboutsummaryrefslogtreecommitdiff
path: root/development/zeal/zeal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/zeal/zeal.SlackBuild')
-rw-r--r--development/zeal/zeal.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild
index 2ec8ba25a350b..37825be52d374 100644
--- a/development/zeal/zeal.SlackBuild
+++ b/development/zeal/zeal.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zeal
-# Copyright 2015-2017 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2015-2018 Ricardo J. Barberis <ricardo.barberis@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zeal
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,9 +73,15 @@ find -L . \
export ZEAL_VERSION=${VERSION}
mkdir -p build
cd build
- qmake-qt5 ..
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make INSTALL_ROOT=$PKG install
+ make install DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \