1 # Contributor: James Pearson <james.m.pearson+arch@gmail.com>
3 pkgname=perl-digest-md4
6 pkgdesc="Digest::MD4::Perl - Perl interface to the MD4 Algorithm"
8 url="http://search.cpan.org/dist/Digest-MD4"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.004')
12 source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-$pkgver.tar.gz)
13 md5sums=('594d661c18b46a4aea97931dcaf5ce14')
16 cd "$srcdir/Digest-MD4-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete