1 # Maintainer: Jakob Nixdorf <flocke [swirly thing] shadowice [dot] org>
3 pkgname=perl-array-diff
6 pkgdesc="Diff two arrays"
7 depends=('perl>=5.10.0' 'glibc' 'perl-class-accessor' 'perl-algorithm-diff')
8 license=('GPL' 'PerlArtistic')
9 url="http://search.cpan.org/dist/Array-Diff"
10 source=(http://search.cpan.org/CPAN/authors/id/T/TY/TYPESTER/Array-Diff-$pkgver.tar.gz)
11 md5sums=('031adfbe03c18fb04dcf6f071471dbc5')
12 options=('!emptydirs')
17 cd ${srcdir}/Array-Diff-$pkgver
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make DESTDIR=${pkgdir} install || return 1
23 # Remove .packlist and perllocal.pod files.
24 find ${pkgdir} -name '.packlist' -delete
25 find ${pkgdir} -name 'perllocal.pod' -delete