added extra/perl-archive-zip

This commit is contained in:
Kevin Mihelich 2019-10-12 01:07:52 +00:00
parent 6391072caf
commit 85fa002a56

View file

@ -0,0 +1,35 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
# remove when bumped upstream
pkgname=perl-archive-zip
pkgver=1.67
pkgrel=1
pkgdesc="Provide a perl interface to ZIP archive files"
arch=('any')
license=('GPL' 'PerlArtistic')
url="https://search.cpan.org/dist/Archive-Zip/"
depends=('perl')
checkdepends=('perl-test-mockmodule')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz)
sha512sums=('e6e9960b3453831aa11b4b530beb76da4696e6478f21d21dc41f0b666252aac7f8d37bcff7c7691b8e0561aeac00503d8a6e72a6905c685a0315bf047642d42c')
build() {
cd Archive-Zip-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Archive-Zip-${pkgver}
make test
}
package() {
cd Archive-Zip-${pkgver}
make DESTDIR="${pkgdir}" install
}