updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / netspeed-applet / PKGBUILD
blob136e77bea9d93e4c6de7b20085906513ed00a027
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=netspeed-applet
3 _pkgname=netspeed_applet
4 pkgver=0.16
5 pkgrel=3
6 pkgdesc="GNOME applet that shows how much traffic occurs on a specified network device"
7 arch=('i686' 'x86_64')
8 url="http://projects.gnome.org/netspeed/"
9 license=('GPL')
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
14         01_stock_icons.patch
15         02_dbus.patch
16         03_gtk3.patch)
17 md5sums=('8ae5f925d29fca9b70a248ad05316877'
18          'e1b77676455b42c93a385b22c28eb0e6'
19          '69066ec62f861658a12b41fe2f6865fd'
20          'e824b8ef31c35ab5fcc13f1e0bc50667')
22 build() {
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"
28   autoreconf -fi
29   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
30               --disable-static --disable-scrollkeeper
31   make
34 package() {
35   cd "$srcdir/$_pkgname-$pkgver"
37   make DESTDIR="$pkgdir/" install