From a719168b942359ebd578d68e88133d7e0f5eed7c Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 29 May 2018 22:41:48 +0000 Subject: perl-algorithm-diff: update to 1.1903 --- abs/core/perl_modules/perl-algorithm-diff/PKGBUILD | 37 +++++++++++++--------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD b/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD index d185772..864421a 100644 --- a/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD +++ b/abs/core/perl_modules/perl-algorithm-diff/PKGBUILD @@ -1,20 +1,27 @@ -# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details +# $Id$ +# Maintainer: Sergej Pupykin # Maintainer: Charles Mauch + pkgname=perl-algorithm-diff -pkgver=1.1902 -pkgrel=4 +pkgver=1.1903 +pkgrel=3 pkgdesc="Perl/CPAN Module Algorithm::Diff : Diff also Longest Common Subsequence" -arch=("i686" "x86_64") -url="http://search.cpan.org/TYEMQ/Algorithm-Diff" -license=("GPL" "Artistic") -source=("http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz") -md5sums=("ff3e17ae485f8adfb8857b183991fbce") -groups=('shepherd-dep') +arch=("any") +url="http://search.cpan.org/dist/Algorithm-Diff" +license=("GPL" "PerlArtistic") +depends=(perl) +source=("http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-$pkgver.tar.gz") +md5sums=('0e8add21a641b8d66436df0c2024bf3b') + 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 + cd "$srcdir"/Algorithm-Diff-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Algorithm-Diff-$pkgver + make pure_install doc_install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } -- cgit v0.12