summaryrefslogtreecommitdiff
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
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>
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild13
-rw-r--r--graphics/pngcrush/pngcrush.info10
-rw-r--r--graphics/pngcrush/slack-desc2
3 files changed, 12 insertions, 13 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
diff --git a/graphics/pngcrush/pngcrush.info b/graphics/pngcrush/pngcrush.info
index a7a58307c0..a3ce5db816 100644
--- a/graphics/pngcrush/pngcrush.info
+++ b/graphics/pngcrush/pngcrush.info
@@ -1,10 +1,10 @@
PRGNAM="pngcrush"
-VERSION="1.7.72"
+VERSION="1.7.85"
HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
-DOWNLOAD="http://downloads.sourceforge.net/pmt/pngcrush-1.7.72.tar.xz"
-MD5SUM="3a1d4fdd5dbb6251aea9f0f89d3f90d9"
+DOWNLOAD="http://downloads.sourceforge.net/pmt/pngcrush-1.7.85.tar.xz"
+MD5SUM="c86e88856d9b3148da6c41d164108a9c "
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leo Midha"
-EMAIL="netrixtardis@stealth3.com"
+MAINTAINER="Eugene M."
+EMAIL="damagedone@gmx.com"
diff --git a/graphics/pngcrush/slack-desc b/graphics/pngcrush/slack-desc
index 562d7090b6..e73a1b8577 100644
--- a/graphics/pngcrush/slack-desc
+++ b/graphics/pngcrush/slack-desc
@@ -14,6 +14,6 @@ pngcrush: It also can be used to remove unwanted ancillary chunks, or to add
pngcrush: certain chunks including gAMA, tRNS, iCCP, and textual chunks.
pngcrush:
pngcrush:
-pngcrush:
+pngcrush: Homepage: http://pmt.sourceforge.net/pngcrush/
pngcrush:
pngcrush: