Leo Unglaub 9d303c5a3c xfce4-fsguard-plugin: Update to 1.0.2
Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-05 02:50:56 +00:00

38 lines
905 B
Plaintext

# Description: Checks free space on mounted filesystems and displays a message when a limit is reached.
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-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-fsguard-plugin
version=1.0.2
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 {} \;
}