diff options
Diffstat (limited to 'academic/bibletime')
-rw-r--r-- | academic/bibletime/README | 5 | ||||
-rw-r--r-- | academic/bibletime/bibletime.SlackBuild | 31 | ||||
-rw-r--r-- | academic/bibletime/bibletime.info | 6 |
3 files changed, 27 insertions, 15 deletions
diff --git a/academic/bibletime/README b/academic/bibletime/README index 7a44c6d012..3a862cfa06 100644 --- a/academic/bibletime/README +++ b/academic/bibletime/README @@ -2,3 +2,8 @@ BibleTime is a Bible study application for Linux. It is based on the K Desktop Environment and uses the Sword programming library to work with Bible texts, commentaries, dictionaries, and books provided by the Crosswire Bible Society. + +You will need bible text as well as the dependencies listed. +sword-data-KJV available on slackbuilds.org provides a basic +King James Version with strongs. bibletime includes bookshelf manager +which allows you to download other versions over the internet. diff --git a/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild index 807cf266c2..a25bde4b12 100644 --- a/academic/bibletime/bibletime.SlackBuild +++ b/academic/bibletime/bibletime.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # A slackbuild script to build the BibleTime Sword frontend @@ -27,12 +27,17 @@ # Modified by Robert Delahunt [twinreverb[at]puresimplicity.net # Modified 2018/19/20 by Tim Dickson (dickson.tim@googlemail.com) -# Modified 20200918 by B. Watson <yalhcru@gmail.com> +# Modified 20200918 by B. Watson <urchlay@slackware.uk> +# Modified 20220412 by Tim Dickson (dickson.tim@googlemail.com) +# updated for v3.0.3 and fix doc location by Tim Dickson (dickson.tim@googlemail.com) + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bibletime -VERSION=${VERSION:-3.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.0.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -42,7 +47,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} @@ -70,14 +82,8 @@ rm -rf $PRGNAM-$VERSION tar -xJvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION -#we need to patch the cmake file to skip tests as they fail at the moment -#hopefully they will be fixed in 3.0.1 - -sed -i "/BTTests/s/^/#/" cmake/BTApplication.cmake - mkdir -p build cd build - export "PATH=/opt/cmake-202x/bin:$PATH" cmake \ -Wno-dev \ -DCMAKE_BUILD_TYPE=Release \ @@ -85,6 +91,7 @@ cd build -DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DBT_DOCDIR="doc/$PRGNAM-$VERSION" \ -DLIB_SUFFIX=$LIBDIRSUFFIX .. make make install DESTDIR=$PKG @@ -105,4 +112,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/academic/bibletime/bibletime.info b/academic/bibletime/bibletime.info index 1cc0826cea..dc3f8b1300 100644 --- a/academic/bibletime/bibletime.info +++ b/academic/bibletime/bibletime.info @@ -1,8 +1,8 @@ PRGNAM="bibletime" -VERSION="3.0" +VERSION="3.0.3" HOMEPAGE="http://www.bibletime.info/" -DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v3.0/bibletime-3.0.tar.xz" -MD5SUM="c90bcafa7938ff0257a8599c3d9cb024" +DOWNLOAD="https://github.com/bibletime/bibletime/releases/download/v3.0.3/bibletime-3.0.3.tar.xz" +MD5SUM="07c4f717f15be1418c0e3f434ee2983c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="sword po4a fop" |