# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-tie-cphash pkgver=1.04 pkgrel=1 pkgdesc="Perl/CPAN Module Tie::CPHash : Case preserving but case insensitive hash" arch=("i686" "x86_64") 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 $startdir/src/Tie-CPHash-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }