diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/clamav/PKGBUILD | 12 | ||||
-rw-r--r-- | libre/clamav/install | 6 |
2 files changed, 7 insertions, 11 deletions
diff --git a/libre/clamav/PKGBUILD b/libre/clamav/PKGBUILD index e7305f856..b0f77aafe 100644 --- a/libre/clamav/PKGBUILD +++ b/libre/clamav/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 266861 2016-05-04 08:00:32Z bisson $ +# $Id: PKGBUILD 272647 2016-07-28 19:05:20Z heftig $ # Contributor (Arch): Dale Blount <dale@archlinux.org> # Contributor (Arch): Gregor Ibic <gregor.ibic@intelicom.si> # Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> @@ -8,13 +8,13 @@ _pkgname=clamav-libre pkgname=clamav pkgver=0.99.2 -pkgrel=1.parabola1 +pkgrel=2.parabola1 pkgdesc='Anti-virus toolkit for Unix, without nonfree decompression engine for RAR archives' url='http://www.clamav.net/' license=('GPL') arch=('i686' 'x86_64' 'armv7h') -makedepends=('libmilter') -depends=('bzip2' 'libltdl' 'gcc-libs') +makedepends=('libmilter' 'llvm35') +depends=('bzip2' 'libltdl' 'llvm35-libs' 'libxml2' 'curl') validpgpkeys=('B964E6D7BC7D7C82CCB8D45840B8EA2364221D53' 'F79FB2D08751574C5D3FDFFBB3D5342C260429A0') mksource=("http://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz"{,.sig}) @@ -57,7 +57,9 @@ build() { --with-dbdir=/var/lib/clamav \ --disable-clamav \ --enable-milter \ - --disable-unrar \ + --with-system-llvm \ + --with-llvm-linking=dynamic \ + --disable-unrar make } diff --git a/libre/clamav/install b/libre/clamav/install index 1a0653e2a..bfaa56624 100644 --- a/libre/clamav/install +++ b/libre/clamav/install @@ -7,9 +7,3 @@ post_install() { getent passwd clamav &>/dev/null || useradd -r -u 64 -g clamav -d /dev/null -s /bin/false -c "Clam AntiVirus" clamav >/dev/null post_upgrade } - -post_remove() { - getent passwd clamav &>/dev/null && userdel clamav >/dev/null - getent group clamav &>/dev/null && groupdel clamav >/dev/null - return 0 -} |