#Maintainer: Tomoki Tsuchiya <hydrangea_and_snail~at~hotmail~dot~com>

#Mandatory
pkgname=ibus-qt
pkgver=1.3.1
pkgrel=2tt
docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme')
url=http://code.google.com/p/ibus/
source=("http://ibus.googlecode.com/files/$pkgname-$pkgver-Source.tar.gz")
sourcetemplate=http://people.salixos.org/tsuren/packages/$pkgname/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"ibus-table (Intelligent Input Bus - qt bridge)"
"IBus means Intelligent Input Bus. It is an open source input"
"framework for Linux/Unix OS. This is a bridge to qt, allowing"
"you to use qt from ibus"
)

build() {
        cd $startdir/src/$pkgname-$pkgver-Source
	mkdir build
	cd build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Wall"
        make VERBOSE=1 || return 1
        make DESTDIR=$startdir/pkg install
}