1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=netspeed-applet
3 _pkgname=netspeed_applet
6 pkgdesc="GNOME applet that shows how much traffic occurs on a specified network device"
8 url="http://projects.gnome.org/netspeed/"
10 depends=('gnome-panel>=3.0.0' 'libgtop>=2.14.2' 'wireless_tools>=28' 'xdg-utils')
11 makedepends=('intltool' 'gnome-doc-utils')
12 install=$pkgname.install
13 source=(http://launchpad.net/netspeed/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz
17 md5sums=('8ae5f925d29fca9b70a248ad05316877'
18 'e1b77676455b42c93a385b22c28eb0e6'
19 '69066ec62f861658a12b41fe2f6865fd'
20 'e824b8ef31c35ab5fcc13f1e0bc50667')
23 cd "$srcdir/$_pkgname-$pkgver"
24 patch -Np1 -i "$srcdir/01_stock_icons.patch"
25 patch -Np1 -i "$srcdir/02_dbus.patch"
26 patch -Np1 -i "$srcdir/03_gtk3.patch"
29 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
30 --disable-static --disable-scrollkeeper
35 cd "$srcdir/$_pkgname-$pkgver"
37 make DESTDIR="$pkgdir/" install