graphics/scrot: Update DOWNLOAD.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2015-02-24 20:36:22 -08:00 committed by Willy Sudiarto Raharjo
parent 42bad9e9ed
commit 41de439e80
2 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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"