# $Id: PKGBUILD 65863 2012-02-22 13:09:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-io-digest
pkgver=0.10
pkgrel=5
pkgdesc="Perl/CPAN Module IO::Digest"
arch=("any")
url="http://search.cpan.org/~clkao/IO-Digest/"
license=("GPL" "PerlArtistic")
depends=('perl' 'perlio-via-dynamic')
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/IO-Digest-$pkgver.tar.gz")
md5sums=('0448841e0559c2c19c7e8001ef087e26')

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