2012-01-09 09:07:16 +01:00

27 lines
754 B
Plaintext

# Description: Plugin for configuring your keyboard layout.
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: xfce4-panel libxklavier libwnck librsvg
# Group: xfce4
name=xfce4-xkb-plugin
version=0.5.4.3
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
./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 {} \;
}