summaryrefslogtreecommitdiffstats
path: root/development/zeal
diff options
context:
space:
mode:
Diffstat (limited to 'development/zeal')
-rw-r--r--development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gzbin0 -> 257 bytes
-rw-r--r--development/zeal/README4
-rw-r--r--development/zeal/zeal.SlackBuild21
-rw-r--r--development/zeal/zeal.info6
4 files changed, 22 insertions, 9 deletions
diff --git a/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz b/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz
new file mode 100644
index 0000000000..cdd05caed3
--- /dev/null
+++ b/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz
Binary files differ
diff --git a/development/zeal/README b/development/zeal/README
index 43c7ef16c0..37aea3658a 100644
--- a/development/zeal/README
+++ b/development/zeal/README
@@ -1,7 +1,7 @@
Zeal (a simple offline documentation browser inspired by Dash)
-Offline documentation browser inspired by Dash (http://kapeli.com/dash/),
-available for Linux and Windows.
+Offline documentation browser inspired by Dash
+(http://kapeli.com/dash/), available for Linux and Windows.
- Quickly search documentation using Alt+Space (or customised) hotkey
to display Zeal from any place in your workspace
diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild
index dee5fbf82a..abe348e5a3 100644
--- a/development/zeal/zeal.SlackBuild
+++ b/development/zeal/zeal.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zeal
# Copyright 2015-2018 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2023 Nick Smallbone <nick@smallbone.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zeal
VERSION=${VERSION:-0.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,6 +74,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# https://github.com/zealdocs/zeal/pull/1218
+zcat $CWD/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/zeal/zeal.info b/development/zeal/zeal.info
index 3f75e4bac3..239879912d 100644
--- a/development/zeal/zeal.info
+++ b/development/zeal/zeal.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/zealdocs/zeal/archive/v0.6.1/zeal-0.6.1.tar.gz"
MD5SUM="99da3e15dd100c42c9062fe525c9db8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="extra-cmake-modules qt5-webkit"
-MAINTAINER="Ricardo J. Barberis"
-EMAIL="ricardo.barberis@gmail.com"
+REQUIRES=""
+MAINTAINER="Nick Smallbone"
+EMAIL="nick@smallbone.se"