mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
|
# $Id: PKGBUILD 32114 2009-03-29 12:47:59Z francois $
|
||
|
# Maintainer: Dale Blount <dale@archlinux.org>
|
||
|
# Contributor: Dale Blount <dale@archlinux.org>
|
||
|
# Contributor: François Charette <francois.archlinux.org>
|
||
|
|
||
|
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
|
||
|
}
|