aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngquant/pngquant.SlackBuild
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/pngquant.SlackBuild
parent8b610bdb197e750d90521a617d514b5c0ba62db7 (diff)
graphics/pngquant: Updated for version 2.3.4.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics/pngquant/pngquant.SlackBuild')
-rw-r--r--graphics/pngquant/pngquant.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 5905b2471706d..d1e77fb4ef47c 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