initial import
This commit is contained in:
103
perl-archive-zip/LICENSE
Normal file
103
perl-archive-zip/LICENSE
Normal file
@@ -0,0 +1,103 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Archive-Zip
|
||||
Upstream-Contact: Adam Kennedy <adamk@cpan.org>
|
||||
Source: https://metacpan.org/release/Archive-Zip
|
||||
|
||||
Files: *
|
||||
Copyright: 2000-2004, Ned Konz <perl@bike-nomad.com>
|
||||
2005, Steve Peters <steve@fisharerojo.org>
|
||||
2006-2009, Adam Kennedy <adamk@cpan.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: lib/Archive/Zip/Member.pm
|
||||
Copyright: 2000-2004, Ned Konz <perl@bike-nomad.com>
|
||||
2005, Steve Peters <steve@fisharerojo.org>
|
||||
2006-2009, Adam Kennedy <adamk@cpan.org>
|
||||
1990-2007, Info-ZIP
|
||||
License: Artistic and Info-ZIP
|
||||
Comment: This file contains code that was derived from an Info-ZIP product.
|
||||
The additional restrictions on the Info-ZIP license likely make it
|
||||
incompatible with GPL-1+, so only the Artistic side of the Perl license
|
||||
is listed here.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2001-2003, Ivo Timmermans <ivo@debian.org>
|
||||
2004, Matthias Klose <doko@debian.org>
|
||||
2005, 2007, Ben Burton <bab@debian.org>
|
||||
2009-2019, Salvatore Bonaccorso <carnil@debian.org>
|
||||
2009-2011, Ernesto Hernández-Novich (USB) <emhn@usb.ve>
|
||||
2010-2020, gregor herrmann <gregoa@debian.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
License: Artistic
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Artistic License, which comes with Perl.
|
||||
.
|
||||
On Debian systems, the complete text of the Artistic License can be
|
||||
found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: GPL-1+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian systems, the complete text of version 1 of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
||||
|
||||
License: Info-ZIP
|
||||
This is version 2005-Feb-10 of the Info-ZIP copyright and license.
|
||||
The definitive version of this document should be available at
|
||||
ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely.
|
||||
.
|
||||
.
|
||||
Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
|
||||
.
|
||||
For the purposes of this copyright and license, "Info-ZIP" is defined as
|
||||
the following set of individuals:
|
||||
.
|
||||
Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
|
||||
Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,
|
||||
Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
|
||||
David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
|
||||
Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
|
||||
Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda,
|
||||
Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren,
|
||||
Rich Wales, Mike White
|
||||
.
|
||||
This software is provided "as is," without warranty of any kind, express
|
||||
or implied. In no event shall Info-ZIP or its contributors be held liable
|
||||
for any direct, indirect, incidental, special or consequential damages
|
||||
arising out of the use of or inability to use 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. Redistributions of source code must retain the above copyright notice,
|
||||
definition, disclaimer, and this list of conditions.
|
||||
.
|
||||
2. Redistributions in binary form (compiled executables) must reproduce
|
||||
the above copyright notice, definition, disclaimer, and this list of
|
||||
conditions in documentation and/or other materials provided with the
|
||||
distribution. The sole exception to this condition is redistribution
|
||||
of a standard UnZipSFX binary (including SFXWiz) as part of a
|
||||
self-extracting archive; that is permitted without inclusion of this
|
||||
license, as long as the normal SFX banner has not been removed from
|
||||
the binary or disabled.
|
||||
.
|
||||
3. Altered versions--including, but not limited to, ports to new operating
|
||||
systems, existing ports with new graphical interfaces, and dynamic,
|
||||
shared, or static library versions--must be plainly marked as such
|
||||
and must not be misrepresented as being the original source. Such
|
||||
altered versions also must not be misrepresented as being Info-ZIP
|
||||
releases--including, but not limited to, labeling of the altered
|
||||
versions with the names "Info-ZIP" (or any variation thereof, including,
|
||||
but not limited to, different capitalizations), "Pocket UnZip," "WiZ"
|
||||
or "MacZip" without the explicit permission of Info-ZIP. Such altered
|
||||
versions are further prohibited from misrepresentative use of the
|
||||
Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s).
|
||||
.
|
||||
4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,"
|
||||
"UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its
|
||||
own source and binary releases.
|
||||
46
perl-archive-zip/PKGBUILD
Normal file
46
perl-archive-zip/PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-archive-zip
|
||||
pkgver=1.68
|
||||
_debver=1.68
|
||||
_debrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Provide a perl interface to ZIP archive files'
|
||||
arch=('any')
|
||||
license=('GPL-1')
|
||||
url="https://search.cpan.org/dist/Archive-Zip/"
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz
|
||||
https://deb.debian.org/debian/pool/main/liba/libarchive-zip-perl/libarchive-zip-perl_$_debver-$_debrel.debian.tar.xz
|
||||
"LICENSE::https://metadata.ftp-master.debian.org/changelogs//main/liba/libarchive-zip-perl/libarchive-zip-perl_1.68-1_copyright")
|
||||
sha512sums=('40c3ba26b1c27a8b15b919934e7fcd531f208bec73de3454e123ac1fb771831e287b8fade421be40e243498beb6dad9b6133ef07d2e5d407afbd1f3d6a30b916'
|
||||
'9d9b739878b0c1f38c61aed85ad0349824ef23ea43dfa40e4835857e788b53696cbcd6f5906b0991f8bddf1a20f3c25fff87c0c18d20c29c7b98ac78b648b03d'
|
||||
'c308a43dc7c647e0e035efda4a16cad9223042289b328281af701a990105516ea4821307e8b8728c1540e6b05fb06413eb485b16ec76bc4793c4a5eecff9c728')
|
||||
|
||||
prepare() {
|
||||
cd Archive-Zip-${pkgver}
|
||||
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
mv "$srcdir"/debian .
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd Archive-Zip-${pkgver}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Archive-Zip-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user