# $Id: PKGBUILD 32114 2009-03-29 12:47:59Z francois $ # Maintainer: Dale Blount # Contributor: Dale Blount # Contributor: François Charette pkgname=perl-mail-spf _realname=Mail-SPF pkgver=2.006 pkgrel=1 pkgdesc="Perl module that provides SPF support" arch=(i686 x86_64) license=('custom') url="http://search.cpan.org/dist/${_realname}/" makedepends=('perl-net-dns-resolver-programmable') depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl>=5.10.0') conflicts=('perl-mail-spf-query') source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/${_realname}-v${pkgver}.tar.gz) options=(!emptydirs) md5sums=('4da41591b612560627ddbc6026b047a3') build() { cd ${srcdir}/${_realname}-v${pkgver} perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name 'perllocal.pod' -delete install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }