summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2018-02-20 07:42:38 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-02-21 19:54:36 +0000
commita338872a7dcab130666a4452f54151be7bab10c1 (patch)
treecbfb90cb706b7c924b63fb8a6d585a502944fc30
parent57b721cab86c906b3595eeedfd41a29eaa71a4fb (diff)
downloadslackbuilds-a338872a7dcab130666a4452f54151be7bab10c1.tar.gz
development/zeal: Updated for version 0.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/zeal/zeal.SlackBuild14
-rw-r--r--development/zeal/zeal.info8
2 files changed, 14 insertions, 8 deletions
diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild
index 2ec8ba25a3..37825be52d 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 \
diff --git a/development/zeal/zeal.info b/development/zeal/zeal.info
index 5c64751f6c..7404bcaba3 100644
--- a/development/zeal/zeal.info
+++ b/development/zeal/zeal.info
@@ -1,10 +1,10 @@
PRGNAM="zeal"
-VERSION="0.5.0"
+VERSION="0.6.0"
HOMEPAGE="https://zealdocs.org/"
-DOWNLOAD="https://github.com/zealdocs/zeal/archive/v0.5.0/zeal-0.5.0.tar.gz"
-MD5SUM="06be74ab13f1cd932bf573972332417d"
+DOWNLOAD="https://github.com/zealdocs/zeal/archive/v0.6.0/zeal-0.6.0.tar.gz"
+MD5SUM="b226cdf05e0300b6062cd8db5528ec7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit"
+REQUIRES="extra-cmake-modules qt5-webkit"
MAINTAINER="Ricardo J. Barberis"
EMAIL="ricardo.barberis@gmail.com"