summaryrefslogtreecommitdiff
path: root/~lukeshu/pngcrush
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-15 18:02:34 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-15 18:02:34 -0500
commitdf63445bca7a2740c4b7150cb4d7b4c2e19871a1 (patch)
treeedc3cf0715ea11ef0937844bae192252f2a03ebc /~lukeshu/pngcrush
parent87b6714982c2e7e951235482ded0c9bac823840d (diff)
downloadabslibre-df63445bca7a2740c4b7150cb4d7b4c2e19871a1.tar.gz
abslibre-df63445bca7a2740c4b7150cb4d7b4c2e19871a1.tar.bz2
abslibre-df63445bca7a2740c4b7150cb4d7b4c2e19871a1.zip
rename ~luke to ~lukeshu
Diffstat (limited to '~lukeshu/pngcrush')
-rw-r--r--~lukeshu/pngcrush/LICENSE42
-rw-r--r--~lukeshu/pngcrush/PKGBUILD30
2 files changed, 72 insertions, 0 deletions
diff --git a/~lukeshu/pngcrush/LICENSE b/~lukeshu/pngcrush/LICENSE
new file mode 100644
index 000000000..3412dd04e
--- /dev/null
+++ b/~lukeshu/pngcrush/LICENSE
@@ -0,0 +1,42 @@
+
+NOTICES
+
+If you have modified this source, you may insert additional notices
+immediately after this sentence.
+
+COPYRIGHT:
+
+Copyright (C) 1998-2002,2006-2009 Glenn Randers-Pehrson
+ (glennrp at users.sf.net)
+Copyright (C) 2005 Greg Roelofs
+
+DISCLAIMERS:
+
+The pngcrush computer program is supplied "AS IS". The Author disclaims all
+warranties, expressed or implied, including, without limitation, the
+warranties of merchantability and of fitness for any purpose. The
+Author assumes no liability for direct, indirect, incidental, special,
+exemplary, or consequential damages, which may result from the use of
+the computer program, even if advised of the possibility of such damage.
+There is no warranty against interference with your enjoyment of the
+computer program or against infringement. There is no warranty that my
+efforts or the computer program will fulfill any of your particular purposes
+or needs. This computer program is provided with all faults, and the entire
+risk of satisfactory quality, performance, accuracy, and effort is with
+the user.
+
+LICENSE:
+
+Permission is hereby irrevocably granted to everyone to use, copy, modify,
+and distribute this source code, or portions hereof, or executable programs
+compiled from it, for any purpose, without payment of any fee, subject to
+the following restrictions:
+
+1. The origin of this source code must not be misrepresented.
+
+2. Altered versions must be plainly marked as such and must not be
+ misrepresented as being the original source.
+
+3. This Copyright notice, disclaimer, and license may not be removed
+ or altered from any source or altered source distribution.
+
diff --git a/~lukeshu/pngcrush/PKGBUILD b/~lukeshu/pngcrush/PKGBUILD
new file mode 100644
index 000000000..e3b477086
--- /dev/null
+++ b/~lukeshu/pngcrush/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributer: HuntXu <huntxu@live.cn>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=pngcrush
+pkgver=1.7.15
+pkgrel=1
+pkgdesc="A tool for optimizing the compression of PNG files"
+arch=('i686' 'x86_64')
+url="http://pmt.sourceforge.net/"
+license=('custom')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver.tar.xz
+ LICENSE)
+md5sums=('c21cf76d187dadd4c137e894dcb593bf'
+ 'e6446a786d939c98fcada57f9ae6de1f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ # fix for better compression
+ sed -i 's|TOO_FAR 4096|TOO_FAR 32767|' deflate.c
+ make
+}
+
+package() {
+ install -Dm755 "$srcdir"/$pkgname-$pkgver/$pkgname \
+ "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 $srcdir/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}