# $Id: PKGBUILD 66017 2012-02-22 14:36:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-algorithm-annotate
pkgver=0.10
pkgrel=5
pkgdesc="Perl/CPAN Module Algorithm::Annotate"
arch=("any")
url="http://search.cpan.org/dist/Algorithm-Annotate"
license=("GPL" "PerlArtistic")
makedepends=("perl-algorithm-diff")
depends=("perl-algorithm-diff")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/Algorithm-Annotate-$pkgver.tar.gz")
md5sums=("453395489640e28fc772944ef08d396b")

build() {
  cd $srcdir/Algorithm-Annotate-0.10
  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
}
