PKGBUILDs/community/perl-test-differences/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
767 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-test-differences
pkgver=0.4801
pkgrel=2
pkgdesc="Perl/CPAN Module Test::Differences"
arch=(any)
depends=(perl-text-diff)
url="http://search.cpan.org/dist/Test-Differences"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Test-Differences-$pkgver.tar.gz")
md5sums=('2df59051b3c4276f9bb3f26fcf01ae67')
build() {
cd $startdir/src/Test-Differences-$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
}