Leo Unglaub e5447bfda6 xfce4-diskperf-plugin: Update to 2.5.5
I also cleaned up the Pkgfile. Now it used --disable-nls
and --disable-dependency-tracking.

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-05 02:45:40 +00:00

38 lines
855 B
Plaintext

# Description: Harddisk monitor for the Xfce panel.
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-diskperf-plugin
version=2.5.5
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure the plugin
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
# make the plugin
make
make DESTDIR=$PKG install
# cleanup time
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}