2012-04-24 11:17:30 +02:00

28 lines
825 B
Plaintext

# Description: Shows the state of your keyboard LEDs: Caps, Scroll and Num Lock in Xfce panel
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-kbdleds-plugin
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-kbdleds-plugin
version=0.0.6
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
sed -i panel-plugin/* -e 's|panel-plugins|panel/plugins|g'
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--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 {} \;
}