# Contributor: Leonardo Arena # Maintainer: Leonardo Arena setvar pkgname = 'perl-archive-zip' setvar _realname = 'Archive-Zip' setvar pkgver = '1.59' setvar pkgrel = '0' setvar pkgdesc = ""Provide a perl interface to ZIP archive files."" setvar url = ""http://search.cpan.org/dist/Archive-Zip/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar depends = ""perl"" setvar makedepends = ""perl-dev"" setvar install = '' setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_realname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_realname-$pkgver"" proc build { cd $builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install # creates file collision among perl modules find $pkgdir -name perllocal.pod -delete } setvar md5sums = ""b649a593391573f9382cef8c08d1d5ba Archive-Zip-1.59.tar.gz"" setvar sha256sums = ""7a4b1b0aa43ae7231bb3212e86ab6b538725625df06e82772c3da24c8b26e75d Archive-Zip-1.59.tar.gz"" setvar sha512sums = ""ca9df48d770bf34945daa1721b9372ed90816b8a2a3d61523fc91c583ef545df169528093d6cd15fbc7e962ce0aab17f0fe8899fd35a6f0245c97b7cb379dd5f Archive-Zip-1.59.tar.gz""