From 5c561163133e61dc311355389556e2b2d0664c13 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 11 Dec 2011 18:49:46 -0500 Subject: mv ./~aur/* ./~lukeshu --- ~lukeshu/pngcrush/LICENSE | 42 ++++++++++++++++++++++++++++++++++++++++++ ~lukeshu/pngcrush/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 ~lukeshu/pngcrush/LICENSE create mode 100644 ~lukeshu/pngcrush/PKGBUILD (limited to '~lukeshu/pngcrush') 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 +# Contributer: HuntXu +# Maintainer: Stefan Husmann + +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 +} -- cgit v1.2.3-54-g00ecf