[arch-commits] Commit in perl-mail-spf/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 08:14:46 EST 2012


    Date: Saturday, February 25, 2012 @ 08:14:45
  Author: pierre
Revision: 151295

upgpkg: perl-mail-spf 2.8.0-1

upstream update

Modified:
  perl-mail-spf/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 13:12:18 UTC (rev 151294)
+++ PKGBUILD	2012-02-25 13:14:45 UTC (rev 151295)
@@ -5,27 +5,30 @@
 
 pkgname=perl-mail-spf
 _realname=Mail-SPF
-pkgver=2.007
-pkgrel=2
+pkgver=2.8.0
+pkgrel=1
 pkgdesc="Perl module that provides SPF support"
-arch=(any)
+arch=('any')
 license=('custom')
 url="http://search.cpan.org/dist/${_realname}/"
 # Used for testing only.
 makedepends=('perl-net-dns-resolver-programmable')
-depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns'
-'perl>=5.10.0')
+depends=('perl-error' 'perl-netaddr-ip' 'perl-uri' 'perl-net-dns' 'perl')
 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=('67dccdc91e3264679a0e17d493d3cc30')
+source=("http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/${_realname}-v${pkgver}.tar.gz")
+options=('!emptydirs')
+md5sums=('4f5bbd59058da680bfd9ff18e31489b7')
 
 build() {
   cd ${srcdir}/${_realname}-v${pkgver}
   # Fix required perl-net-dns-resolver-programmable version
-  sed "s/=> 'v0.002.1',/=> 0,/" -i Build.PL
+  #sed "s/=> 'v0.002.1',/=> 0,/" -i Build.PL
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-v${pkgver}
   make test
 }
 



More information about the arch-commits mailing list