diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/netspeed-applet |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/netspeed-applet')
-rw-r--r-- | extra/netspeed-applet/PKGBUILD | 25 | ||||
-rw-r--r-- | extra/netspeed-applet/netspeed-applet.install | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/extra/netspeed-applet/PKGBUILD b/extra/netspeed-applet/PKGBUILD new file mode 100644 index 000000000..7cd7566b6 --- /dev/null +++ b/extra/netspeed-applet/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 94521 2010-10-07 19:29:30Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Arjan Timmerman <arjan@archlinux.org> + +pkgname=netspeed-applet +pkgver=0.16 +pkgrel=2 +pkgdesc="GNOME applet that shows how much traffic occurs on a specified network device." +arch=(i686 x86_64) +license=('GPL') +url="http://projects.gnome.org/netspeed/" +depends=('gnome-panel-bonobo>=2.32.0' 'libgtop>=2.28.2' 'wireless_tools' 'hicolor-icon-theme') +makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.2' 'intltool') +install=netspeed-applet.install +source=(http://launchpad.net/netspeed/trunk/0.16/+download/netspeed_applet-${pkgver}.tar.gz) +md5sums=('8ae5f925d29fca9b70a248ad05316877') + +build() { + cd "${srcdir}/netspeed_applet-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/netspeed-applet \ + --localstatedir=/var --disable-scrollkeeper + make + make DESTDIR="${pkgdir}" install +} diff --git a/extra/netspeed-applet/netspeed-applet.install b/extra/netspeed-applet/netspeed-applet.install new file mode 100644 index 000000000..1a05f573e --- /dev/null +++ b/extra/netspeed-applet/netspeed-applet.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |