summaryrefslogtreecommitdiff
path: root/libraries/xforms/xforms.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-06-17 12:44:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-17 14:46:09 -0500
commit16d5b87a3fb9a348c7ee3651fc955bb2ca302e27 (patch)
tree607ee65f12649e785b3311652cbbbb3a7beaaad7 /libraries/xforms/xforms.SlackBuild
parent8687c9844f40a1164d8dea530d8fb0bd9365cea1 (diff)
downloadslackbuilds-16d5b87a3fb9a348c7ee3651fc955bb2ca302e27.tar.gz
libraries/xforms: Updated for version 1.0.93sp1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/xforms/xforms.SlackBuild')
-rw-r--r--libraries/xforms/xforms.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild
index bdcde88a4a..f1c9fde82c 100644
--- a/libraries/xforms/xforms.SlackBuild
+++ b/libraries/xforms/xforms.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xforms
-# Copyright 2009 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2009-2010 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xforms
-VERSION=${VERSION:-1.0.92sp2}
+VERSION=${VERSION:-1.0.93sp1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -70,7 +70,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,20 +95,16 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
# demo source files
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/demos/fd
-cd demos
-cp -a $DEMOFILES $PKG/usr/share/$PRGNAM-$VERSION/demos
-cd fd
-cp -a $DEMOFDFILES $PKG/usr/share/$PRGNAM-$VERSION/demos/fd
+cd demos ; cp -a $DEMOFILES $PKG/usr/share/$PRGNAM-$VERSION/demos
+cd fd ; cp -a $DEMOFDFILES $PKG/usr/share/$PRGNAM-$VERSION/demos/fd
cd ../..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/