PKGBUILDs/community/perl-algorithm-diff/PKGBUILD
2009-10-09 21:15:33 -05:00

19 lines
785 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-algorithm-diff
pkgver=1.1902
pkgrel=3
pkgdesc="Perl/CPAN Module Algorithm::Diff : Diff also Longest Common Subsequence"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Algorithm-Diff"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz")
md5sums=("ff3e17ae485f8adfb8857b183991fbce")
build() {
cd $startdir/src/Algorithm-Diff-1.1902
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}