blob: 30b6996970bb942bb8a972265bcc25343f8ecabb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $Id: PKGBUILD 186425 2013-05-26 09:26:01Z bluewind $
# Maintainer:
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=razor
pkgver=2.85
pkgrel=2
pkgdesc="A distributed, collaborative, spam detection and filtering network"
arch=('i686' 'x86_64')
url="http://razor.sourceforge.net"
license=('PerlArtistic')
depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-agents-${pkgver}.tar.bz2"
razor-2.85-cosmetic-pv-fix.patch)
md5sums=('014d08db40187cb1316482191566b012'
'850645e088b21845f4b6653623d59515')
prepare() {
cd ${pkgname}-agents-${pkgver}
patch -p1 -i "$srcdir/razor-2.85-cosmetic-pv-fix.patch"
}
build() {
cd ${pkgname}-agents-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd ${pkgname}-agents-${pkgver}
make test
}
package() {
cd ${pkgname}-agents-${pkgver}
make DESTDIR="${pkgdir}" install
}
|