summaryrefslogtreecommitdiff
path: root/academic/sword/sword.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 06:10:45 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 20:02:51 -0600
commit9e64763c4c24f3b3f7c3c94427d481ccc2becf4f (patch)
tree86b7ae7ff68760c728ec13d176b69d50f1c90eef /academic/sword/sword.SlackBuild
parentce953d09dd5390ec3c365b575960ade33ea29e96 (diff)
downloadslackbuilds-9e64763c4c24f3b3f7c3c94427d481ccc2becf4f.tar.gz
academic/sword: Updated for version 1.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/sword/sword.SlackBuild')
-rw-r--r--academic/sword/sword.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild
index 133c912062..b7c0e3f537 100644
--- a/academic/sword/sword.SlackBuild
+++ b/academic/sword/sword.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sword
-VERSION=1.6.2
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.7.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,15 +63,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 -i $CWD/sword-no-curl-types.patch
-patch -p1 -i $CWD/sword-1.6.2-clucene2.patch
-patch -p0 -i $CWD/sword-gcc47-fix.patch
patch -p0 -i $CWD/sword-curl-7.20.0-fix.patch
CFLAGS="$SLKCFLAGS" \