summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aade39d54f40757eab5f5dd650393db498a54db4 (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
# Maintainer: bar0metr <admin@os-admin.ru>
pkgname=ecap_clamav-adapter
pkgver=2.0.0
pkgrel=2
pkgdesc='The eCAP ClamAV adapter allows the host application to check messages for viruses and other malicious content using a well-known ClamAV(R) antivirus engine. Unlike sample eCAP adapters, the ClamAV adapter is meant for production use'
arch=('x86_64')
url='http://www.e-cap.org/archive/ecap_clamav_adapter-2.0.0.tar.gz'
provides=("$pkgname")
conflicts=("$pkgname")
source=("$pkgname::$url")
depends=('libecap' 'clamav')
license=('GPL')

sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  chmod +x ./configure
  ./configure
  make -j$(nproc)
}

package() {
  cd "$srcdir"
  make -C "$pkgname" DESTDIR="$pkgdir" install
}