updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / antivir-applet / PKGBUILD
blobd6363fad5bc91b35cf5adb90bcf619dd28d225d6
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=antivir-applet
4 pkgver=2.9
5 pkgrel=1
6 pkgdesc="Avira Antivir Guard Applet"
7 arch=('i686' 'x86_64')
8 url="http://www.free-av.com/"
9 license=('GPL')
10 depends=('antivir' 'dazukofs' 'gnome-panel')
11 makedepends=('pkg-config')
12 optdepends=('xfce4-xfapplet-plugin: for xfce4-panel support')
13 install=$pkgname.install
14 source=(http://dlpe.antivir.com/package/wks_avira/unix/en/pers/antivir_workstation-pers.tar.gz)
15 md5sums=('b38e442499f99c449569da35b49489b6')
17 build() {
18   cd "$srcdir/antivir-workstation-pers-3.1.3.4-1/contrib/applet"
19   make clean && make || return 1
22 package() {
23   cd "$srcdir/antivir-workstation-pers-3.1.3.4-1/contrib/applet"
24   install -dm755 "$pkgdir/usr/share/pixmaps"
25   install -Dm755 avira-guard-applet \
26     "$pkgdir/usr/lib/gnome-panel/avira-guard-applet"
27   install -Dm644 data/AvGuardApplet.server \
28     "$pkgdir/usr/lib/bonobo/servers/AvGuardApplet.server"
29   install -Dm755 extra/popup_message.sh \
30     "$pkgdir/usr/lib/AntiVir/popup_message.sh"
31   install -m644 data/avira-guard-{icon,open,closed}.png \
32     "$pkgdir/usr/share/pixmaps/"
33   install -Dm644 data/gnome-panel-avira.png \
34     "$pkgdir/usr/share/icons/hicolor/32x32/apps/gnome-panel-avira.png"