updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-hash-flatten / PKGBUILD
blobeaf571c226a4722abe19331c6364ecbfe33bd78b
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-hash-flatten'
4 pkgver='1.16'
5 pkgrel='1'
6 pkgdesc="flatten/unflatten complex data hashes"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-log-trace' 'perl-test-assertions')
11 url='http://search.cpan.org/dist/Hash-Flatten'
12 source=('http://search.cpan.org/CPAN/authors/id/B/BB/BBC/Hash-Flatten-1.16.tar.gz')
13 md5sums=('b67a1b1888aee862bd5b7a2987989495')
15 build() {
16   _DISTDIR="${srcdir}/Hash-Flatten-1.16"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete