From 41de439e80dfc460a520200d22ad4549e5925cbb Mon Sep 17 00:00:00 2001 From: Ryan P.C. McQuen Date: Tue, 24 Feb 2015 20:36:22 -0800 Subject: graphics/scrot: Update DOWNLOAD. Signed-off-by: Ryan P.C. McQuen --- graphics/scrot/scrot.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'graphics/scrot/scrot.SlackBuild') diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild index 5c6246c82b..94667cf2d6 100644 --- a/graphics/scrot/scrot.SlackBuild +++ b/graphics/scrot/scrot.SlackBuild @@ -10,7 +10,7 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted.. +# the text of the GPL license may be omitted. # This program is distributed in the hope that it will be useful, but # without any warranty; without even the implied warranty of @@ -28,7 +28,7 @@ set -e PRGNAM=scrot VERSION=0.8 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,13 +63,13 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$PRGNAM-$VERSION +cd $PRGNAM-$VERSION 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 \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -82,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -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 ( cd $PKG/usr/man -- cgit v1.2.3