summaryrefslogtreecommitdiff
path: root/academic/sword/sword.SlackBuild
diff options
context:
space:
mode:
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" \