summaryrefslogtreecommitdiffstats
path: root/academic/sword/sword.SlackBuild
diff options
context:
space:
mode:
author Tim Dickson <dickson.tim@googlemail.com>2018-01-13 18:47:43 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-17 19:46:31 +0700
commit0f3b649305316b3e97765a9ca2891cbfc5cdc79e (patch)
tree3c46437b2979305556909a5cc730e69f1d932f02 /academic/sword/sword.SlackBuild
parent37c90a332231e7030ad5a529ac2eb240c139552d (diff)
downloadslackbuilds-0f3b649305316b3e97765a9ca2891cbfc5cdc79e.tar.gz
slackbuilds-0f3b649305316b3e97765a9ca2891cbfc5cdc79e.tar.xz
academic/sword: Updated for version 1.8.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/sword/sword.SlackBuild')
-rw-r--r--academic/sword/sword.SlackBuild14
1 files changed, 7 insertions, 7 deletions
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