diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-09 03:58:56 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-09 03:58:56 +0000 |
commit | ebfbe6aa4a09806147654dd9e8d512cd68921e0d (patch) | |
tree | 645198602e94164a4130285756f401ae0b0756fd /extra/clamav/PKGBUILD | |
parent | 3092fe0e20f490a5f9b8b9602ffc039a22be60c0 (diff) |
Thu Jan 9 03:54:24 UTC 2014
Diffstat (limited to 'extra/clamav/PKGBUILD')
-rw-r--r-- | extra/clamav/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD index 4b7a8e00a..affde1857 100644 --- a/extra/clamav/PKGBUILD +++ b/extra/clamav/PKGBUILD @@ -1,36 +1,36 @@ -# $Id: PKGBUILD 197893 2013-10-30 11:31:17Z allan $ +# $Id: PKGBUILD 203336 2014-01-08 07:29:58Z bisson $ # Contributor: Dale Blount <dale@archlinux.org> # Contributor: Gregor Ibic <gregor.ibic@intelicom.si> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=clamav pkgver=0.98 -pkgrel=1 +pkgrel=2 pkgdesc='Anti-virus toolkit for Unix' url='http://www.clamav.net/' license=('GPL') arch=('i686' 'x86_64') -depends=('bzip2' 'libltdl') -backup=('etc/logrotate.d/clamav') +depends=('bzip2' 'libltdl' 'gcc-libs') source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" - 'service' - 'service.fresh' 'logrotate' 'tmpfiles.d' - 'config.patch') + 'clamd.conf' + 'freshclam.conf' + 'clamd.service' + 'freshclamd.service') sha1sums=('1e6a7284721387646c713a8d32fa8b5a897985db' - 'b6ac0c5de1e5b41232b10d4f84e86201c370eaeb' - 'cda9a087e5593992150cb456e34c5f6f589aca82' 'bb488a56b0f6a0760446cde89c1e3321e2717b78' 'a224ea9b4d0f4f196827347d54bed51e11c197ea' - '00dfadd93d11186793cb1161745f9dd7370beb99') + '887f624eb305f2446f55d8339e2972ad0cfe2b79' + 'b767837d0279ad30b92c314cb762b73e5ad0415e' + 'b6ac0c5de1e5b41232b10d4f84e86201c370eaeb' + 'cda9a087e5593992150cb456e34c5f6f589aca82') -install=install +backup=('etc/clamav/clamd.conf' + 'etc/clamav/freshclam.conf' + 'etc/logrotate.d/clamav') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../config.patch -} +install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -48,8 +48,10 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -Dm644 ../service.fresh "${pkgdir}"/usr/lib/systemd/system/freshclamd.service - install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/clamd.service + install -Dm644 ../clamd.conf "${pkgdir}"/etc/clamav/clamd.conf + install -Dm644 ../freshclam.conf "${pkgdir}"/etc/clamav/freshclam.conf + install -Dm644 ../freshclamd.service "${pkgdir}"/usr/lib/systemd/system/freshclamd.service + install -Dm644 ../clamd.service "${pkgdir}"/usr/lib/systemd/system/clamd.service install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/clamav.conf install -Dm644 ../logrotate "${pkgdir}"/etc/logrotate.d/clamav |