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>
This commit is contained in:
Leo Unglaub 2015-03-05 02:45:40 +00:00
parent f15eef7258
commit e5447bfda6
2 changed files with 24 additions and 13 deletions

View File

@ -1 +1 @@
2db453fc3ea2e4fe073ec313a25b0961 xfce4-diskperf-plugin-2.5.4.tar.bz2
199e4365cb3a1fcd5f6164044aedba17 xfce4-diskperf-plugin-2.5.5.tar.bz2

View File

@ -1,4 +1,4 @@
# Description: Harddisk monitor for the xfce panel.
# 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
@ -6,21 +6,32 @@
# Group: xfce4
name=xfce4-diskperf-plugin
version=2.5.4
version=2.5.5
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
build ()
{
# go into the source directory
cd $SRC/$name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug
make
make DESTDIR=$PKG install
# configure the plugin
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking \
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
# 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 {} \;
}