Date: Monday, July 25, 2011 @ 20:09:35
  Author: bisson
Revision: 132770

minor upstream update

Modified:
  clamav/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-07-25 23:17:24 UTC (rev 132769)
+++ PKGBUILD    2011-07-26 00:09:35 UTC (rev 132770)
@@ -4,7 +4,7 @@
 # Maintainer: Gaetan Bisson <bis...@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 @@
 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 @@
 install=install
 
 build() {
-       cd "$srcdir/$pkgname-$pkgver"
+       cd "${srcdir}/${pkgname}-${pkgver}"
        patch -p1 < ../config.patch
        ./configure \
                --prefix=/usr \
@@ -39,18 +39,18 @@
 }
 
 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
 }

Reply via email to