summaryrefslogtreecommitdiff
path: root/graphics/pngquant
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2015-02-12 22:47:38 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-15 07:56:32 +0700
commitd6f121347517024daf89bb620ad76685f5b0a9ae (patch)
treec0953052ebab43318f1e83b00f9c7d45a65c3a86 /graphics/pngquant
parent8b610bdb197e750d90521a617d514b5c0ba62db7 (diff)
downloadslackbuilds-d6f121347517024daf89bb620ad76685f5b0a9ae.tar.gz
graphics/pngquant: Updated for version 2.3.4.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics/pngquant')
-rw-r--r--graphics/pngquant/pngquant.SlackBuild8
-rw-r--r--graphics/pngquant/pngquant.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 5905b24717..d1e77fb4ef 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pngquant
-# Copyright 2013-2014 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2013-2015 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pngquant
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
@@ -77,7 +77,7 @@ install -D -m0644 lib/libimagequant.a $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.
install -D -m0644 lib/libimagequant.h $PKG/usr/include/libimagequant.h
install -D -m0644 pngquant.1 $PKG/usr/man/man1/pngquant.1
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/pngquant/pngquant.info b/graphics/pngquant/pngquant.info
index cb2a2a63ae..7aa94e0c69 100644
--- a/graphics/pngquant/pngquant.info
+++ b/graphics/pngquant/pngquant.info
@@ -1,8 +1,8 @@
PRGNAM="pngquant"
-VERSION="2.3.0"
+VERSION="2.3.4"
HOMEPAGE="http://pngquant.org/"
-DOWNLOAD="http://pngquant.org/pngquant-2.3.0-src.tar.bz2"
-MD5SUM="0ce07508367032634b0694bd9897c17f"
+DOWNLOAD="https://github.com/pornel/pngquant/archive/2.3.4.tar.gz"
+MD5SUM="3f1e98e0ad8378c879765e86180b62ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""