#Maintainer: George Vlahavas pkgname=xfce4-xkb-plugin pkgver=0.5.4.3 pkgrel=1gv source=("http://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/0.5/xfce4-xkb-plugin-0.5.4.3.tar.bz2") 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 --build=$arch-slackware-linux 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 ) }