blob: a38df10836ac2b736b7709e04060e1e8670fd467 (
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 183164 2013-04-18 06:55:29Z eric $
# Maintainer:
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=razor
pkgver=2.85
pkgrel=1
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
}
|