diff options
author | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
commit | bf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch) | |
tree | f9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /extra/clamav/PKGBUILD | |
parent | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff) |
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'extra/clamav/PKGBUILD')
-rw-r--r-- | extra/clamav/PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD index 35dc54939..ab6daca4f 100644 --- a/extra/clamav/PKGBUILD +++ b/extra/clamav/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 127029 2011-06-09 21:38:42Z bisson $ +# $Id: PKGBUILD 132770 2011-07-26 00:09:35Z bisson $ # Contributor: Dale Blount <dale@archlinux.org> # Contributor: Gregor Ibic <gregor.ibic@intelicom.si> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=clamav -pkgver=0.97.1 +pkgver=0.97.2 pkgrel=1 pkgdesc='Anti-virus toolkit for Unix' arch=('i686' 'x86_64') @@ -13,12 +13,12 @@ options=('!libtool') license=('GPL') backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf' 'etc/conf.d/clamav') url='http://www.clamav.net/' -source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'rc.d' 'conf.d' 'logrotate' 'config.patch') -sha1sums=('1b3a4667dcc278bc7eab38acbc0f35269aa05387' +sha1sums=('27d47c6ad22edc87c030f6d483fab1e13320cbf7' '7f15f0b13a1c11235bc99ef0add01efd8a442f07' 'cb116cdab49a810381a515cbcfb6a6c148547f07' 'be3310d2b41a68ce06e33c84ab68ffe59fdce104' @@ -27,7 +27,7 @@ sha1sums=('1b3a4667dcc278bc7eab38acbc0f35269aa05387' install=install build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 < ../config.patch ./configure \ --prefix=/usr \ @@ -39,18 +39,18 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install # make sure conf files get installed, because make install # doesn't do that if clamav is already installed upon building. - install -D -m644 etc/clamd.conf "$pkgdir/etc/clamav/clamd.conf" - install -D -m644 etc/freshclam.conf "$pkgdir/etc/clamav/freshclam.conf" + install -D -m644 etc/clamd.conf "${pkgdir}/etc/clamav/clamd.conf" + install -D -m644 etc/freshclam.conf "${pkgdir}/etc/clamav/freshclam.conf" - install -D -m644 ../logrotate "$pkgdir/etc/logrotate.d/clamav" - install -D -m644 ../conf.d "$pkgdir/etc/conf.d/clamav" - install -D -m755 ../rc.d "$pkgdir/etc/rc.d/clamav" + install -D -m644 ../logrotate "${pkgdir}/etc/logrotate.d/clamav" + install -D -m644 ../conf.d "${pkgdir}/etc/conf.d/clamav" + install -D -m755 ../rc.d "${pkgdir}/etc/rc.d/clamav" # un-distribute databases to require freshclam - rm "$pkgdir"/var/lib/clamav/*.cvd + rm "${pkgdir}"/var/lib/clamav/*.cvd } |