# Maintainer: Felix Yan # Contributor: Allan McRae # Contributor: Andrew Simmons # 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 }