summaryrefslogtreecommitdiff
path: root/graphics/pngcrush/pngcrush.SlackBuild
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2015-04-26 08:04:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-26 08:04:31 +0700
commitedd34d1a5a1af80a1a94e4d1061f66844fc10a10 (patch)
tree921b35aa6354e7f45470e875bd21489f17566935 /graphics/pngcrush/pngcrush.SlackBuild
parent02a639fd0c945b04dd16f7f1245a9378532f4b7e (diff)
downloadslackbuilds-edd34d1a5a1af80a1a94e4d1061f66844fc10a10.tar.gz
graphics/pngcrush: Updated for version 1.7.85 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/pngcrush/pngcrush.SlackBuild')
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/pngcrush/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index f82c8b4c6c..826da8a212 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pngcrush
-# Copyright 2012 Leo Midha <netrixtardis@stealth3.com>, San Antonio, Texas.
+# Copyright 2012 Leo Midha <netrixtardis at stealth3 dot com>, San Antonio, Texas.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Maintained by Eugene M. <damagedone at gmx dot com>
+
PRGNAM=pngcrush
-VERSION=${VERSION:-1.7.72}
+VERSION=${VERSION:-1.7.85}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,11 +57,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "/^CFLAGS/s/=/+=/" Makefile
-
-CFLAGS+=" -DPNGCRUSH_COUNT_COLORS" \
- make
-install -D -m0755 pngcrush $PKG/usr/bin/pngcrush
+make
+install -D -m 0755 pngcrush $PKG/usr/bin/pngcrush
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