2010-12-17 00:40:18 +01:00

25 lines
819 B
Plaintext

# Description: systemload plugin offers multiple display modes to show the current CPU load of the system
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-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-cpugraph-plugin
version=1.0.1
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 {} \;
}