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 sha256sums=('7fe0afe73e5b3979444dd86e2ad25ea99bc05b23d5648d357544f78f0b6eb6d7'
18 '9b9e40a6ce0220bb2228dd7807a14ecd7febe5290ace74744eea90ab9ab13aa5'
19 'd6ad13978170ad5914383db43376a89f38c03a17db1780d1e0df6f9c9ececd07')
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