summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2018-01-13 18:47:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-17 19:46:31 +0700
commit0f3b649305316b3e97765a9ca2891cbfc5cdc79e (patch)
tree3c46437b2979305556909a5cc730e69f1d932f02
parent37c90a332231e7030ad5a529ac2eb240c139552d (diff)
downloadslackbuilds-0f3b649305316b3e97765a9ca2891cbfc5cdc79e.tar.gz
academic/sword: Updated for version 1.8.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--academic/sword/README10
-rw-r--r--academic/sword/sword.SlackBuild14
-rw-r--r--academic/sword/sword.info6
3 files changed, 15 insertions, 15 deletions
diff --git a/academic/sword/README b/academic/sword/README
index 9d4d339673..2de1d80d89 100644
--- a/academic/sword/README
+++ b/academic/sword/README
@@ -1,8 +1,8 @@
-The SWORD Project is an effort to create an ever expanding software package
-for research and study of God and His Word. The SWORD Bible Framework allows
-easy manipulation of Bible texts, commentaries, lexicons, dictionaries, etc.
-Many frontends are build using this framework. An installed module set may
-be shared between any frontend using the framework.
+The SWORD Project is an effort to create an ever expanding software package
+for research and study of God and His Word. The SWORD Bible Framework allows
+easy manipulation of Bible texts, commentaries, lexicons, dictionaries, etc.
+Many frontends are build using this framework. An installed module set may
+be shared between any frontend using the framework.
This engine/library needs data to operate on to be usefull.
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild
index c556fc5224..558cefa859 100644
--- a/academic/sword/sword.SlackBuild
+++ b/academic/sword/sword.SlackBuild
@@ -5,7 +5,7 @@
# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
-# changes updating to v1.7.5a1 Copyright 2015-20166 Tim Dickson, Scotland
+# changes updating to v1.7.5a1 and v1.8.1 Copyright 2015-2018 Tim Dickson, Scotland
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sword
-VERSION=${VERSION:-1.7.5a1}
+VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,11 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-#rm -rf $PRGNAM-$VERSION #line changed because source directory doesn't follow its own version number
-rm -rf "${PRGNAM}-1.7.5"
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-#cd $PRGNAM-$VERSION 'the source extracted folder is different from it's version
-cd "${PRGNAM}-1.7.5"
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -74,7 +72,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
#now patch the automake stuff so it doesn't error on slackware's newer version
-#thanks to aur.archlinux.org for the information
+#thanks to aur.archlinux.org for the information...
+#since update to 1.8.1 first patch has to be commented out. we will get a bunch of
+#warnings, but at least the library compiles
#sed -i 's/AM_INIT_AUTOMAKE$/AM_INIT_AUTOMAKE\(\[subdir\-objects\]\)/g' configure.ac
sed -i 's/ftemplate-depth-25/ftemplate-depth\=125/g' configure.ac
./autogen.sh
diff --git a/academic/sword/sword.info b/academic/sword/sword.info
index 7b3c304cfa..bafb795e6c 100644
--- a/academic/sword/sword.info
+++ b/academic/sword/sword.info
@@ -1,8 +1,8 @@
PRGNAM="sword"
-VERSION="1.7.5a1"
+VERSION="1.8.1"
HOMEPAGE="http://www.crosswire.org/sword"
-DOWNLOAD="http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz"
-MD5SUM="3b9f7c483dd6c73c1911e695490e69e3"
+DOWNLOAD="http://crosswire.org/ftpmirror/pub/sword/source/v1.8/sword-1.8.1.tar.gz"
+MD5SUM="ddab24192104b15cbec72e569145ccd1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""