Leo Unglaub 407d2b1096 xfce4-wavelan-plugin: Update to 0.5.12
Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-05 02:54:48 +00:00

38 lines
891 B
Plaintext

# Description: plugin is used to display stats from a wireless lan interface
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Ricardo Oliveira, crux at roliveira dot eu
# Depends on: xfce4-panel
name=xfce4-wavelan-plugin
version=0.5.12
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-static \
--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 {} \;
}