Merge pull request #442 from elieux/pngcrush-v1.7.83
pngcrush: Updated to 1.7.83
This commit is contained in:
42
mingw-w64-pngcrush/LICENSE
Normal file
42
mingw-w64-pngcrush/LICENSE
Normal file
@@ -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.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
_realname=pngcrush
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.7.77
|
||||
pkgver=1.7.83
|
||||
pkgrel=1
|
||||
pkgdesc="A tool for optimizing the compression of PNG files (mingw-w64)"
|
||||
arch=('any')
|
||||
@@ -10,19 +10,23 @@ url="http://pmt.sourceforge.net/pngcrush"
|
||||
license=('custom')
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libpng" "${MINGW_PACKAGE_PREFIX}-zlib")
|
||||
source=("http://downloads.sourceforge.net/pmt/$_realname-$pkgver-nolib.tar.gz")
|
||||
md5sums=('611c4a22965fe920d75fcc2497d038aa')
|
||||
source=("http://downloads.sourceforge.net/pmt/${_realname}-${pkgver}-nolib.tar.gz"
|
||||
LICENSE)
|
||||
md5sums=('8ec6e7aabeddbf2db4c1979292d7b631'
|
||||
'e6446a786d939c98fcada57f9ae6de1f')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}-nolib"
|
||||
mv "${srcdir}/${_realname}-${pkgver}-nolib" "${srcdir}/${_realname}-build-${MINGW_CHOST}"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}-nolib"
|
||||
cd "${srcdir}/${_realname}-build-${MINGW_CHOST}"
|
||||
CFLAGS+=" -DPNGCRUSH_COUNT_COLORS" make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 ${srcdir}/${_realname}-${pkgver}-nolib/${_realname} \
|
||||
${pkgdir}${MINGW_PREFIX}/bin/${_realname}
|
||||
install -Dm755 ${srcdir}/${_realname}-build-${MINGW_CHOST}/${_realname} \
|
||||
"${pkgdir}"${MINGW_PREFIX}/bin/${_realname}
|
||||
install -Dm644 LICENSE \
|
||||
"$pkgdir"${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user