[arch-commits] CVS update of extra/lib/perl-mail-spf-query (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Thu Jan 24 03:31:05 UTC 2008
Date: Wednesday, January 23, 2008 @ 22:31:05
Author: kevin
Path: /home/cvs-extra/extra/lib/perl-mail-spf-query
Modified: PKGBUILD (1.8 -> 1.9)
upgpkg: perl-mail-spf-query 1.999.1-3
Updated for new perl policy
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Index: extra/lib/perl-mail-spf-query/PKGBUILD
diff -u extra/lib/perl-mail-spf-query/PKGBUILD:1.8 extra/lib/perl-mail-spf-query/PKGBUILD:1.9
--- extra/lib/perl-mail-spf-query/PKGBUILD:1.8 Sat Sep 1 16:06:45 2007
+++ extra/lib/perl-mail-spf-query/PKGBUILD Wed Jan 23 22:31:05 2008
@@ -1,29 +1,26 @@
-# $Id: PKGBUILD,v 1.8 2007/09/01 20:06:45 jgc Exp $
+# $Id: PKGBUILD,v 1.9 2008/01/24 03:31:05 kevin Exp $
# Maintainer: kevin <kevin at archlinux.org>
# Contributor: Eric Johnson <eric at coding-zone.com>
pkgname=perl-mail-spf-query
+_realname=Mail-SPF-Query
pkgver=1.999.1
-pkgrel=2
+pkgrel=3
pkgdesc="Perl module that provides SPF support"
arch=(i686 x86_64)
license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/Mail-SPF-Query"
-depends=('perl-net-cidr-lite>=0.15' 'perl-net-dns>=0.46' 'perl-sys-hostname-long' 'perl-uri')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-net-cidr-lite>=0.15' 'perl-net-dns>=0.46' 'perl-sys-hostname-long' 'perl-uri' 'perl>=5.10.0')
options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf-query/Mail-SPF-Query-${pkgver}.tar.gz)
+source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf-query/${_realname}-${pkgver}.tar.gz)
md5sums=('6d62d024d1614fa1fa4f43bd39ee7bf0')
build() {
- cd ${startdir}/src/Mail-SPF-Query-${pkgver}
- # Force module installation to "current" perl directories.
- eval `perl -V:archname`
- perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- make || return 1
- make install DESTDIR=${startdir}/pkg
+ cd ${startdir}/src/${_realname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=${startdir}/pkg || return 1
# remove perllocal.pod and .packlist
find ${startdir}/pkg -name perllocal.pod -delete
More information about the arch-commits
mailing list