diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-02-24 20:36:22 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-28 11:37:05 +0700 |
commit | 41de439e80dfc460a520200d22ad4549e5925cbb (patch) | |
tree | 602f721387ee2908112cdad02fa3663f93e9ea65 /graphics/scrot/scrot.SlackBuild | |
parent | 42bad9e9ed5003de85f9619b97724e6d38983a6d (diff) |
graphics/scrot: Update DOWNLOAD.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'graphics/scrot/scrot.SlackBuild')
-rw-r--r-- | graphics/scrot/scrot.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild index 5c6246c82ba88..94667cf2d6715 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 |