diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/scrot/scrot.SlackBuild | 12 | ||||
-rw-r--r-- | graphics/scrot/scrot.info | 4 |
2 files changed, 8 insertions, 8 deletions
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 diff --git a/graphics/scrot/scrot.info b/graphics/scrot/scrot.info index d262d78c06..4efe4784fb 100644 --- a/graphics/scrot/scrot.info +++ b/graphics/scrot/scrot.info @@ -1,8 +1,8 @@ PRGNAM="scrot" VERSION="0.8" HOMEPAGE="http://linuxbrit.co.uk/scrot/" -DOWNLOAD="https://github.com/dreamer/scrot/archive/scrot-0.8.tar.gz" -MD5SUM="b9991db702aacb071a8b140ecc06fcb3" +DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/scrot/scrot-0.8.tar.gz" +MD5SUM="ccae904d225609571bdd3b03445c1e88" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="giblib" |