diff options
Diffstat (limited to 'academic/sword-data-kjv')
-rw-r--r-- | academic/sword-data-kjv/README | 11 | ||||
-rw-r--r-- | academic/sword-data-kjv/sword-data-kjv.SlackBuild | 26 | ||||
-rw-r--r-- | academic/sword-data-kjv/sword-data-kjv.info | 6 |
3 files changed, 27 insertions, 16 deletions
diff --git a/academic/sword-data-kjv/README b/academic/sword-data-kjv/README index 1ecea1c77b..7f1f855900 100644 --- a/academic/sword-data-kjv/README +++ b/academic/sword-data-kjv/README @@ -1,6 +1,6 @@ -sword-data-kjv is a data package containing the king james with strongs -dictionarys for sword. -This packages the King James Version bible with strongs refereneces +sword-data-kjv is a data package containing the King James bible with +Strongs dictionaries. +This packages the King James Version bible with strongs references and the strongs Hebrew and Greek dictionaries for use with the sword engine/library V1.7.0 or higher. This and many other bibles and dictionaries can be downloaded from the www.crosswire.org web site. As @@ -16,7 +16,8 @@ works fine. See the .info file for an example of url location when using wget. most sword based bible programs, such as bibletime or xiphos -(gnomesword) have a facility to download more content using their gui. +(previously called gnomesword) have a facility to download more content +using their gui. Please Note: you need at least sword 1.7.0 or higher to read this data. -It has been tested with sword 1.7.0 1.7.5a1 and 1.8.1 +It has been tested with sword 1.7.0 1.7.5a1 1.8.1 and 1.9.0 diff --git a/academic/sword-data-kjv/sword-data-kjv.SlackBuild b/academic/sword-data-kjv/sword-data-kjv.SlackBuild index 4b41aacc36..198bb6bc89 100644 --- a/academic/sword-data-kjv/sword-data-kjv.SlackBuild +++ b/academic/sword-data-kjv/sword-data-kjv.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for sword-data-kjv -# Copyright 2015/6/8 Tim Dickson, email: tim at googlemail.com +# Copyright 2015-2023 Tim Dickson, email: tim at googlemail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,15 +22,25 @@ # 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=sword-data-kjv -VERSION=${VERSION:-1.8.1} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.9.0_2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} #this is a data package, architecture is irrelevant ARCH=noarch -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} @@ -43,7 +53,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION #check if sword is installed and get data location, otherwise use default -DATADEST="/usr/shared/sword/" +DATADEST="/usr/share/sword/" if [ -e /etc/sword.conf ]; then DATADEST=`cat /etc/sword.conf|grep DataPath|awk -F"=" '{print $2}'` if [ "x$DATADEST" = "x" ]||[ "x$DATDEST" = "x/" ]; then @@ -57,10 +67,10 @@ fi mkdir -p $PKG${DATADEST} cd $PKG${DATADEST} -chown -R root:root . unzip $CWD/KJV.zip unzip $CWD/StrongsGreek.zip unzip $CWD/StrongsHebrew.zip +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ @@ -74,4 +84,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/academic/sword-data-kjv/sword-data-kjv.info b/academic/sword-data-kjv/sword-data-kjv.info index d58f037e03..11c62693b1 100644 --- a/academic/sword-data-kjv/sword-data-kjv.info +++ b/academic/sword-data-kjv/sword-data-kjv.info @@ -1,11 +1,11 @@ PRGNAM="sword-data-kjv" -VERSION="1.8.1" +VERSION="1.9.0_2" HOMEPAGE="http://www.crosswire.org/sword/modules/" DOWNLOAD="http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/KJV.zip \ http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsGreek.zip \ http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsHebrew.zip" -MD5SUM="43b84512562a6b2406b34abf46fca4fa \ - 2acde501e6a33e84feeeaa62f8e53d89 \ +MD5SUM="f55dab4fb1515c1b0b229148319d074d \ + 5b2816b8b424033a72850eb64355f104 \ 3cbbc69d7410efc9d1d7f6f6b30e3415" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |