1 # Maintainer: Dale Blount <dale@archlinux.org>
2 # Contributor: Dale Blount <dale@archlinux.org>
3 # Contributor: François Charette <francois.archlinux.org>
8 pkgdesc="Perl module that provides SPF support"
11 url="https://search.cpan.org/dist/Mail-SPF/"
12 depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl')
13 makedepends=('perl-module-build' 'perl-net-dns-resolver-programmable')
14 conflicts=('perl-mail-spf-query')
15 options=('!emptydirs')
16 source=("https://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v${pkgver}.tar.gz")
17 sha256sums=('61cb5915f1c7acc7a931ffc1bfc1291bdfac555e2a46eb2391b995ea9ecb6162')
20 cd Mail-SPF-v${pkgver}
21 sed -i 's|/usr/sbin|/usr/bin|' Build.PL
25 cd Mail-SPF-v${pkgver}
26 perl Makefile.PL INSTALLDIRS=vendor
31 cd Mail-SPF-v${pkgver}
36 cd Mail-SPF-v${pkgver}
37 make DESTDIR="${pkgdir}" install
38 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"