added aur/minizip

This commit is contained in:
Kevin Mihelich 2013-01-11 23:25:33 +00:00
parent 13d632935d
commit 9787690352
2 changed files with 90 additions and 0 deletions

54
aur/minizip/LICENSE Normal file
View file

@ -0,0 +1,54 @@
Condition of use and distribution are the same than zlib :
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications of Unzip for Zip64
Copyright (C) 2007-2008 Even Rouault
Modifications for Zip64 support on both zip and unzip
Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
mztools.h
Code: Xavier Roche '2004
--------------------------------------------------------------------------------
crypt.h
Version 1.01e, February 12th, 2005
Copyright (C) 1998-2005 Gilles Vollant
This code is a modified version of crypting code in Infozip distribution
The encryption/decryption parts of this source code (as opposed to the
non-echoing password parts) were originally written in Europe. The
whole source package can be freely distributed, including from the USA.
(Prior to January 2000, re-export from the US was a violation of US law.)
This encryption code is a direct transcription of the algorithm from
Roger Schlafly, described by Phil Katz in the file appnote.txt. This
file (appnote.txt) is distributed with the PKZIP program (even in the
version without encryption capabilities).
--------------------------------------------------------------------------------
unzip.c
for the license see: see: ftp://ftp.info-zip.org/pub/infozip/license.html

36
aur/minizip/PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# Maintainer: Babets
# Contributor: Leslie P. Polzer <polzer at stardawn dot org>
pkgname=minizip
pkgver=1.2.7
pkgrel=1
pkgdesc="ZIP file extraction library"
url="http://www.winimage.com/zLibDll/minizip.html"
license=('ZLIB' 'custom')
arch=('i686' 'x86_64')
depends=('zlib')
provides=('libminizip')
conflicts=('libminizip')
options=(!libtool)
source=("http://zlib.net/current/zlib-${pkgver}.tar.gz"
LICENSE)
md5sums=('60df6a37c56e7c1366cca812414f7b85'
'66b8119e37a80d8bc9d7b1bac59d7d8e')
sha1sums=('4aa358a95d1e5774603e6fa149c926a80df43559'
'ad1e3fb070e1b63ae5350d9bb9607a79ecc0a5cd')
build() {
cd $srcdir/zlib-$pkgver/contrib/$pkgname
rm Makefile
autoreconf -i
autoconf
automake --add-missing
automake
./configure --prefix=/usr
make
}
package() {
cd $srcdir/zlib-$pkgver/contrib/$pkgname
make install DESTDIR=${pkgdir}
install -D -m644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}