# $Id: PKGBUILD 66049 2012-02-22 15:26:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-tie-cphash
pkgver=1.04
pkgrel=3
pkgdesc="Perl/CPAN Module Tie::CPHash : Case preserving but case insensitive hash"
arch=("any")
url="http://search.cpan.org/dist/Tie-CPHash"
license=("GPL" "PerlArtistic")
depends=('perl')
source=("http://www.cpan.org/authors/id/C/CJ/CJM/Tie-CPHash-$pkgver.tar.gz")
md5sums=('d9430275241f5d198c2af027aea294ee')

build() {
  cd $srcdir/Tie-CPHash-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
