2010-12-17 11:04:45 +01:00

25 lines
790 B
Plaintext

# Description: this plugin displays the current load of the network interfaces
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Till Biedermann, tillbiedermann at yahoo dot de
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-netload-plugin
version=1.0.0
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable-static \
--disable-debug
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel-plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}