updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / klamav / PKGBUILD
blob33a059e6d91bfbb280d3ca23d837212295cf3871
1 # KlamAV: Installer: Arch
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
3 # Contributor: Darwin Bautista <djclue917@gmail.com>
4 # Contributor: Darwin Bautista <djclue917@gmail.com>
5 # Contributor: BlackEagle <ike.devolder@scarlet.be>
6 # Maintainer: Nathan Owe <ndowens04+AUR at gmail.com>
8 pkgname=klamav
9 pkgver=0.46
10 pkgrel=5
11 pkgdesc="An anti-virus manager for KDE that's based on the ClamAV scanning engine"
12 arch=("i686" "x86_64")
13 url="http://${pkgname}.sourceforge.net/"
14 license=("GPL")
15 depends=("clamav" "kdelibs3")
16 optdepends=("dazuko: Allows online virus scanning")
17 options=("!libtool")
19 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-source.tar.gz)
20 sha1sums=('37fd30c67d8e7c0b90a308dfc9960154c91a0e88')
22 build() {
23         cd ${srcdir}/${pkgname}-${pkgver}-source/${pkgname}-${pkgver}/
25         # Directories
26         #install -d ${pkgdir}/opt/kde/share/doc/HTML/en/${pkgname}02/common || return 1
28         # Config
29         source /etc/profile.d/kde3.sh || return 1
30         #sed -i 's|RPATH||g' configure || return 1
32         # Build
33         ./configure --prefix=/opt/kde --without-arts || return 1
34         #./configure --prefix=/opt/kde --without-arts --disable-rpath || return 1
35         make || return 1
36         make libdir=${pkgdir}/usr/lib DESTDIR=${pkgdir}/ install || return 1