# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-algorithm-diff pkgver=1.1902 pkgrel=1 pkgdesc="Compute intelligent differences between two files / lists" arch=('i686' 'x86_64') url="http://search.cpan.org/~TJMATHER/XML-RegExp" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-$pkgver.tar.gz) md5sums=('ff3e17ae485f8adfb8857b183991fbce') build() { cd $startdir/src/Algorithm-Diff-$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 }