summaryrefslogtreecommitdiff
path: root/development/4th/4th.SlackBuild
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew.Baniewski@gmail.com>2014-11-16 11:01:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-16 11:01:26 +0700
commite7d808277672b9b2e242c3a2f4ccbb73e8485705 (patch)
treefa59c5085b42e3fdcd9c86915b3d7a8ba973b6aa /development/4th/4th.SlackBuild
parentc3980b4f49fc55d71796348c71272ce2da5de08d (diff)
downloadslackbuilds-e7d808277672b9b2e242c3a2f4ccbb73e8485705.tar.gz
development/4th: Update email.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/4th/4th.SlackBuild')
-rw-r--r--development/4th/4th.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/4th/4th.SlackBuild b/development/4th/4th.SlackBuild
index 4b8c4c9310..bf41e1745e 100644
--- a/development/4th/4th.SlackBuild
+++ b/development/4th/4th.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for 4th
-# Written by Zbigniew Baniewski <Zbigniew.Baniewski@gmail.com>
+# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
PRGNAM=4th
VERSION=${VERSION:-3.62.2}
@@ -47,10 +47,10 @@ cat $CWD/01-directories.patch | patch -p0 || exit
cd $PRGNAM-$VERSION-unix/sources
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "$ARCH" = "x86_64" ]; then
cat $CWD/02-to_preserve_32bit_compatibility.patch | patch -p2 || exit
@@ -70,7 +70,8 @@ cp $TMP/$PRGNAM-$VERSION-unix/4th/.directory $PKG/usr/doc/$PRGNAM-$VERSION
cp $TMP/$PRGNAM-$VERSION-unix/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cp $TMP/$PRGNAM-$VERSION-unix/README $PKG/usr/doc/$PRGNAM-$VERSION
cp -r $TMP/$PRGNAM-$VERSION-unix/4th/* $PKG/usr/doc/$PRGNAM-$VERSION/examples
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;