PKGBUILDs/extra/netspeed-applet/PKGBUILD

26 lines
948 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 15082 2008-10-12 14:43:10Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@archlinux.org>
pkgname=netspeed-applet
pkgver=0.15.2
pkgrel=1
pkgdesc="GNOME applet that shows how much traffic occurs on a specified network device."
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnome.org/projects/netspeed/"
depends=('gnome-panel>=2.24.0' 'libgtop>=2.24.0' 'wireless_tools')
makedepends=('perlxml' 'pkgconfig' 'gnome-doc-utils>=0.14.0')
install=netspeed-applet.install
source=(http://www.wh-hms.uni-ulm.de/~mfcn/shared/netspeed/netspeed_applet-${pkgver}.tar.gz)
md5sums=('5989bb70aec6645409b0e300539caa4b')
build() {
cd "${srcdir}/netspeed_applet-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/netspeed-applet \
--localstatedir=/var --disable-scrollkeeper || return 1
make || return 1
make DESTDIR="${pkgdir}" install
}