updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-digest-md4 / PKGBUILD
blobb79036d3a424cee94e2498870440fc0f38fed8c5
1 # Contributor: James Pearson <james.m.pearson+arch@gmail.com>
3 pkgname=perl-digest-md4
4 pkgver=1.5
5 pkgrel=1
6 pkgdesc="Digest::MD4::Perl - Perl interface to the MD4 Algorithm"
7 arch=('i686' 'x86_64')
8 url="http://search.cpan.org/dist/Digest-MD4"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.004')
11 options=(!emptydirs)
12 source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-$pkgver.tar.gz)
13 md5sums=('594d661c18b46a4aea97931dcaf5ce14')
15 build() {
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
20   make || 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