[arch-commits] Commit in spamassassin/trunk (PKGBUILD)

Angel Velásquez angvp at archlinux.org
Thu Jan 6 00:02:47 EST 2011


    Date: Thursday, January 6, 2011 @ 00:02:44
  Author: angvp
Revision: 105086

upgpkg: spamassassin 3.3.1-3
Rebuilt against perl 5.12.2

Modified:
  spamassassin/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 05:01:25 UTC (rev 105085)
+++ PKGBUILD	2011-01-06 05:02:44 UTC (rev 105086)
@@ -4,12 +4,12 @@
 
 pkgname=spamassassin
 pkgver=3.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A mail filter to identify spam."
 arch=(i686 x86_64)
 license=(APACHE)
 url="http://spamassassin.apache.org"
-depends=('perl>=5.10.0' 'perl-net-dns' 'perl-uri' 'perl-html-parser' \
+depends=('perl>=5.12.2' 'perl-net-dns' 'perl-uri' 'perl-html-parser' \
 		'perl-digest-sha1' 'perl-io-socket-ssl' 'openssl' \
 		'perl-libwww' 'perl-io-zlib' 'perl-mail-spf' \
 		'perl-archive-tar' 'zlib' 're2c')
@@ -36,9 +36,12 @@
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor \
       CONTACT_ADDRESS=root at localhost ENABLE_SSL=yes PERL_TAINT=no
-  /usr/bin/make || return 1
-  /usr/bin/make DESTDIR=${pkgdir} install || return 1
+  /usr/bin/make 
+}
 
+package() {
+  cd ${srcdir}/Mail-SpamAssassin-${pkgver}
+  /usr/bin/make DESTDIR=${pkgdir} install
   # remove perllocal.pod and .packlist
   find ${pkgdir} -name perllocal.pod -delete
   find ${pkgdir} -name .packlist -delete



More information about the arch-commits mailing list