#Maintainer: Dimitris Tzemos pkgname=fbxkb pkgver=0.6 pkgrel=1dj source=("http://download.sourceforge.net/fbxkb/${pkgname}-${pkgver}.tgz" "fbxkb.patch" "fbxkb.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "credits") url="http://fbxkb.sourceforge.net/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "fbxkb (Xorg Keyboard indicator and switcher)" "fbxkb is NETWM compliant keyboard indicator and switcher. It shows a" "flag of current keyboard in a systray area and allows you to switch to" "another one." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/fbxkb.patch || exit 1 sed -i "s/-O2/$CFLAGS/" Makefile.common ./configure --prefix=/usr make -j $numjobs || return 1 make install PREFIX=$startdir/pkg/usr mkdir -p $startdir/pkg/etc/xdg/autostart/ cp $startdir/src/fbxkb.desktop $startdir/pkg/etc/xdg/autostart/ }