# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-hash-multivalue pkgver=0.15 pkgrel=0 pkgdesc="Hash::MultiValue perl module" url="http://search.cpan.org/dist/Hash-MultiValue/" arch="noarch" license="GPLv2 or Artistic" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-$pkgver.tar.gz" builddir="$srcdir/Hash-MultiValue-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="fd97db887590c8c9ecbd0e58434df01fae8e3d2aa2335245ea1217d454e50c3bf1177921dd340f4cca3685808bebc573d13c892da7ccd685d3658c1db9d96465 Hash-MultiValue-0.15.tar.gz"