updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / clamassassin / PKGBUILD
blob62c67ec0d9fc7cf891d399c9d4dec5fd6823a251
1 # Contributor: Antony Jepson <antonyat@gmail.com>
2 # Maintainer: Nathan Owe <ndowens04.aur @ gmail.com>
3 pkgname=clamassassin
4 pkgver=1.2.4
5 pkgrel=3
6 pkgdesc="A simple virus filter wrapper for ClamAV."
7 url="http://jameslick.com/clamassassin/"
8 arch=('i686')
9 license=('BSD')
10 depends=('procmail' 'clamav' 'sh')
11 source=(http://jameslick.com/clamassassin/clamassassin-${pkgver}.tar.gz)
12 md5sums=('ce063e807ae29ab6666db9e01d01cc4c')
14 build() {
15   cd ${srcdir}/${pkgname}-${pkgver}
16   ./configure --prefix=/usr --enable-clamdscan  
17   make
18   }
19 package() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   install -d ${pkgdir}/usr/bin
22   make bindir=${pkgdir}/usr/bin install 
23   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
24   install -Dm644 README ${pkgdir}/usr/share/doc/${pkgname}/README