2 # Contributor: Dale Blount <dale@archlinux.org>
3 # Contributor: Manolis Tzanidakis
8 pkgdesc="A distributed, collaborative, spam detection and filtering network"
10 url="http://razor.sourceforge.net"
11 license=('PerlArtistic')
12 depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
13 options=('!emptydirs')
14 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-agents-${pkgver}.tar.bz2"
15 razor-2.85-cosmetic-pv-fix.patch
16 razor-2.85-makefile-quoting-fix.patch)
17 md5sums=('014d08db40187cb1316482191566b012'
18 '850645e088b21845f4b6653623d59515'
19 '6543caaf0a4086e65de1fb61c8dd5b7b')
22 cd ${pkgname}-agents-${pkgver}
24 patch -p1 -i ../razor-2.85-cosmetic-pv-fix.patch
26 # ExtUtils::MakeMaker >= 6.99_09 has quotes around paths
27 patch -p1 -i ../razor-2.85-makefile-quoting-fix.patch
31 cd ${pkgname}-agents-${pkgver}
32 perl Makefile.PL INSTALLDIRS=vendor
37 cd ${pkgname}-agents-${pkgver}
42 cd ${pkgname}-agents-${pkgver}
43 make DESTDIR="${pkgdir}" install