# $Id: PKGBUILD 65964 2012-02-22 14:02:23Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-tie-ixhash
pkgver=1.22
pkgrel=2
pkgdesc="Indexed hash (ordered array/hash composite)"
arch=('any')
url="http://search.cpan.org/dist/Tie-IxHash"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-$pkgver.tar.gz)
md5sums=('aae2e62df7e016fd3e8fdaaea71b0b41')

build() {
  cd  $srcdir/Tie-IxHash-$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
}
