PKGBUILDs/community/perl-mail-domainkeys/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
805 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-mail-domainkeys
pkgver=1.0
pkgrel=2
pkgdesc="Perl implementation of Yahoo's DomainKeys"
arch=(i686 x86_64)
url="http://search.cpan.org/dist/Mail-DomainKeys"
depends=('perl-crypt-openssl-rsa' 'perl-mailtools' 'perl-net-dns>=0.34')
license=("GPL")
option=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AN/ANTHONYU/Mail-DomainKeys-$pkgver.tar.gz)
md5sums=('a4565f21ada263cf34c55f50d7eb9944')
build() {
cd $startdir/src/Mail-DomainKeys-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}