1 # Maintainer : Michael Witten
3 # Derived from perl-crypt-blowfish:
4 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 # Contributor: Charles Mauch <cmauch@gmail.com>
11 pkgdesc="Perl/CPAN Module Crypt::DH: Diffie-Hellman key exchange system"
13 _cpan_name="Crypt-DH-$pkgver"
14 url="http://search.cpan.org/~btrott/$_cpan_name/lib/Crypt/DH.pm"
16 license=(GPL PerlArtistic)
17 source=("http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/$_cpan_name.tar.gz")
18 md5sums=(eabecac024d427c670a6e0edbadcec5d)
21 makedepends=(make perl)
25 cd "$srcdir/$_cpan_name"
27 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
30 make pure_install doc_install DESTDIR="$pkgdir"
33 find . -name '.packlist' -delete
34 find . -name '*.pod' -delete