summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-archive-zip
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-archive-zip')
-rw-r--r--abs/core/perl_modules/perl-archive-zip/PKGBUILD36
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
}