starfry

ArchLinux AUR PKGBUILD for clamassassin

Aug 21st, 2011
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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=('x86_64')
  9. license=('BSD')
  10. depends=('procmail' 'clamav' 'sh')
  11. source=(http://jameslick.com/clamassassin/clamassassin-${pkgver}.tar.gz)
  12. md5sums=('ce063e807ae29ab6666db9e01d01cc4c')
  13.  
  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
  25. }
RAW Paste Data