#Packager: George Vlahavas pkgname=fbxkb pkgver=0.6 pkgrel=1gv source=("https://downloads.sourceforge.net/project/fbxkb/fbxkb/0.6/fbxkb-0.6.tgz" "fbxkb.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "credits") url=http://fbxkb.sourceforge.net/index.html 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 }