contrib/p5-text-diff/Pkgfile

18 lines
498 B
Plaintext
Raw Normal View History

# Description: Perform diffs on files and record sets
2020-06-01 17:45:48 +02:00
# URL: https://metacpan.org/pod/Text::Diff
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-algorithm-diff
name=p5-text-diff
version=1.45
release=1
source=(https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-Diff-$version.tar.gz)
build() {
cd Text-Diff-$version
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make install DESTDIR=$PKG
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}