#Maintainer: George Vlahavas pkgname=xfce4-xkb-plugin pkgver=0.5.3.3 pkgrel=2gv arch=x86_64 source=(http://goodies.xfce.org/releases/xfce4-xkb-plugin/xfce4-xkb-plugin-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfce4-xkb-plugin (keyboard layout applet for xfce)" "xfce4-xkb-plugin allows you to setup and use multiple (currently up to" "4 due to X11 protocol limitation) keyboard layouts. You can choose the" "keyboard model, what key combination to use to switch between the" "layouts, the actual keyboard layouts, the way in which the current" "layout is being displayed (country flag image or text) and the layout" "policy, which is whether to store the layout globally (for all" "windows), per application or per window. If a certain flag is missing," "the plugin will fallback to displaying the layout as text." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg # fix greek flag ( cd $startdir/pkg/usr/share/xfce4/xkb/flags/ ln -s gr.svg el.svg ) }