diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-19 03:22:47 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-19 03:22:47 -0500 |
commit | fb4f79ab4c65cb4d868b148230e4a6ec1eaabce4 (patch) | |
tree | f586f75612c5b6b744961a2b1ee47aba59dd7bed /~aur/pngcrush | |
parent | 3aabd6016344dab798425905a50bc4acc392f8ea (diff) | |
download | abslibre-fb4f79ab4c65cb4d868b148230e4a6ec1eaabce4.tar.gz abslibre-fb4f79ab4c65cb4d868b148230e4a6ec1eaabce4.tar.bz2 abslibre-fb4f79ab4c65cb4d868b148230e4a6ec1eaabce4.zip |
move packages that are straight from AUR into [~aur]
Diffstat (limited to '~aur/pngcrush')
-rw-r--r-- | ~aur/pngcrush/LICENSE | 42 | ||||
-rw-r--r-- | ~aur/pngcrush/PKGBUILD | 30 |
2 files changed, 72 insertions, 0 deletions
diff --git a/~aur/pngcrush/LICENSE b/~aur/pngcrush/LICENSE new file mode 100644 index 000000000..3412dd04e --- /dev/null +++ b/~aur/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/~aur/pngcrush/PKGBUILD b/~aur/pngcrush/PKGBUILD new file mode 100644 index 000000000..e3b477086 --- /dev/null +++ b/~aur/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 +} |