updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / perl-crypt-dh / PKGBUILD
blob7b9fb15e5c721acc02215259b623d735b958ee10
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>
7 pkgname=perl-crypt-dh
8 pkgver=0.06
9 pkgrel=1
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)
20 arch=(any)
21 makedepends=(make perl)
22 depends=(perl)
24 build() {
25   cd "$srcdir/$_cpan_name"
27   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
29   make
30   make pure_install doc_install DESTDIR="$pkgdir"
32   cd "$pkgdir"
33   find . -name '.packlist' -delete
34   find . -name '*.pod'     -delete