OCaml 4.14.0 rebuild
[arch-packages.git] / perl-archive-zip / trunk / PKGBUILD
blobd5e6423a7d072ad8f8deed4bd7bd8222c11892cf
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Andrew Simmons <andrew.simmons@gmail.com>
5 pkgname=perl-archive-zip
6 pkgver=1.68
7 pkgrel=7
8 pkgdesc="Provide a perl interface to ZIP archive files"
9 arch=('any')
10 license=('GPL' 'PerlArtistic')
11 url="https://search.cpan.org/dist/Archive-Zip/"
12 depends=('perl')
13 checkdepends=('perl-test-mockmodule')
14 options=('!emptydirs')
15 source=(https://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz)
16 sha512sums=('40c3ba26b1c27a8b15b919934e7fcd531f208bec73de3454e123ac1fb771831e287b8fade421be40e243498beb6dad9b6133ef07d2e5d407afbd1f3d6a30b916')
18 build() {
19   cd Archive-Zip-${pkgver}
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd Archive-Zip-${pkgver}
26   make test
30 package() {
31   cd Archive-Zip-${pkgver}
32   make DESTDIR="${pkgdir}" install