You are not logged in.

#1 2005-04-02 15:36:36

big_gie
Member
Registered: 2005-01-19
Posts: 637

KlamAV PKGBUILD

Hi,

there is one around, but it seems old and the making has changed.

PKGBUILD

pkgname=klamav
pkgver=0.15.2
pkgrel=1
pkgdesc="ClamAV Anti-Virus protection for the KDE desktop"
depends=(clamav dazuko-`uname -r`)
url="http://klamav.sourceforge.net/"
source=(http://dl.sourceforge.net/sourceforge/klamav/$pkgname-$pkgver.tar.bz2 klamav.desktop)
md5sums=('cde700ace0e0ab5bd93506ac6a6f47b6' '634b6cd635319f7c10542cbedf230585')

build() {
  cd $startdir/src/$pkgname-$pkgver
  
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir $startdir/usr/share/applications
  install -D -m0755 $startdir/klamav.desktop $startdir/pkg/usr/share/applications/klamav.desktop
}

klamav.desktop

[Desktop Entry]
Name=Klamav
Comment=KDE frontend to ClamAV
Exec=klamav
Icon=/usr/share/icons/hicolor/48x48/apps/klamav.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Application;System;

This one depends on dazuko. dazuko enables the "on-access" scanner. It is a kernel module. Since kernel modules depends higlhy on the kernel version, I've put "dazuko-`uname -r`" in the depends so one can use multiple kernels version and/or config. You will need this package. You can find it on this thread

Offline

Board footer

Powered by FluxBB