updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / perl-hash-merge / PKGBUILD
blob11dfaaf0919df20a5bffa13601a6aeccd34891c0
1 # CPAN Name  : Hash-Merge
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-hash-merge'
5 pkgver='0.12'
6 pkgrel='1'
7 pkgdesc="Merges arbitrarily deep hashes into a single hash"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-clone')
12 url='http://search.cpan.org/dist/Hash-Merge'
13 source=('http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/Hash-Merge-0.12.tar.gz')
14 md5sums=('875e2d9101bde2f6b410dd12f7e10964')
16 build() {
17   DIST_DIR="${srcdir}/Hash-Merge-0.12"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
20     perl Makefile.PL INSTALLDIRS=vendor &&
21     make &&
22     make test &&
23     make DESTDIR="$pkgdir" install;
24   } || return 1;
26   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete