summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e77cc97680f74f9c561e4a8b7e4f78ce0d3c320 (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
28
# Maintainer: bar0metr <admin@os-admin.ru>
pkgname=ecap_clamav-adapter
_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-$pkgver"
  chmod +x ./configure
  ./configure
  make -j$(nproc)
}

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