diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-29 22:45:22 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-29 22:45:22 (GMT) |
commit | 7319c7c9d3a7d89dc595ed9b1b1df142f554c9be (patch) | |
tree | 85fff1db8c23ad85c3501484ba50a927e10b6c7e /abs/core | |
parent | aeada22085a6c3aad989f5d6909ca5582ad6802d (diff) | |
download | linhes_pkgbuild-7319c7c9d3a7d89dc595ed9b1b1df142f554c9be.zip linhes_pkgbuild-7319c7c9d3a7d89dc595ed9b1b1df142f554c9be.tar.gz linhes_pkgbuild-7319c7c9d3a7d89dc595ed9b1b1df142f554c9be.tar.bz2 |
perl-archive-zip: update to 1.60
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-archive-zip/PKGBUILD | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-archive-zip/PKGBUILD b/abs/core/perl_modules/perl-archive-zip/PKGBUILD index 62ace36..5a82f1a 100644 --- a/abs/core/perl_modules/perl-archive-zip/PKGBUILD +++ b/abs/core/perl_modules/perl-archive-zip/PKGBUILD @@ -1,28 +1,34 @@ -# $Id: PKGBUILD 150362 2012-02-17 07:51:32Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> pkgname=perl-archive-zip -_realname=Archive-Zip -pkgver=1.30 -pkgrel=3 +pkgver=1.60 +pkgrel=1 pkgdesc="Provide a perl interface to ZIP archive files" -arch=(any) +arch=('any') license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +url="http://search.cpan.org/dist/Archive-Zip/" +depends=('perl') +checkdepends=('perl-test-mockmodule') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz) -md5sums=('40153666e7538b410e001aa8a810e702') +source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz) +sha512sums=('5af85e1717e7026b5ebe9533b0dd57290b35099d166ee400ca648cb558a37529a3ec290fb9a44679c16cf955a2de9b75328c2fa88d3e87e51c10cac80247852f') build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Archive-Zip-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd Archive-Zip-${pkgver} + make test +} + + package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} + cd Archive-Zip-${pkgver} + make DESTDIR="${pkgdir}" install } |