# $Id: PKGBUILD 86712 2013-03-21 11:19:38Z 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.23
pkgrel=1
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=('8393f2ced231533c3e714abad582f291')

build() {
  cd  $srcdir/Tie-IxHash-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  $srcdir/Tie-IxHash-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
