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 +# Written by Zbigniew Baniewski 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 {} \; diff --git a/development/4th/4th.info b/development/4th/4th.info index 261bf40199..ab651105c4 100644 --- a/development/4th/4th.info +++ b/development/4th/4th.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Zbigniew Baniewski" -EMAIL="Zbigniew.Baniewski@gmail.com" +EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"