1 # Contributor: Piotr Beling <qwak82@gmail.com>
6 pkgdesc="antivirus from ArcaBit (Poland)"
8 depends=(libstdc++5 wget bc)
9 [ "$CARCH" = "x86-64" ] && depends[0]='lib32-libstdc++5'
11 url="http://www.arcavir.pl"
12 source=($url/download/linux/arcacmd-Linux2.6-bundle.tgz)
14 install=$pkgname.install
15 backup=(usr/local/etc/arcacmdg.conf)
19 install -D -m $1 -p -v $2 $3/$2
25 #sed -i -e "s|/usr/local/|$pkgdir/usr/local/|g" install.linux
29 __arcacmd__inst 0755 arcacmd $pkgdir/usr/local/bin
30 __arcacmd__inst 0755 arcacmd.sh $pkgdir/usr/bin
31 ln -s /usr/local/bin/arcacmd $pkgdir/usr/bin
32 __arcacmd__inst 0755 arcaupdate $pkgdir/usr/sbin
34 __arcacmd__inst 0644 arcacmd.1.gz $pkgdir/usr/man/man1
36 __arcacmd__inst 0644 arcacmdg.conf $pkgdir/usr/local/etc
37 __arcacmd__inst 0644 arcacmdl.conf.template $pkgdir/usr/local/etc
39 install -d $pkgdir/usr/local/share/arcacmd/bases/tmp
40 for f in lang/* bases/* docs/COPYING.*; do
41 __arcacmd__inst 0644 $f $pkgdir/usr/local/share/arcacmd
45 for f in COPYING.*; do
46 __arcacmd__inst 0644 $f $pkgdir/usr/share/licenses/arcacmd
51 md5sums=('7901ec6dd0dbea6f4dd3d32fb080f499')