#Maintainer: Dimitris Tzemos pkgname=ibus-chewing pkgver=1.4.7 pkgrel=1dj 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/djemos/salix/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ibus-chewing (chewing engine for ibus input framework)" "ibus-chewing is a Traditional Chinese input engine for ibus input" "framework for Linux/Unix OS. " ) build() { cd ${pkgname}-${pkgver}-Source cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/etc \ -DDOC_DIR=/usr/doc \ -DCMAKE_BUILD_TYPE=Release make || return 1 make translations || return 1 make install DESTDIR=$PKG || return 1 mkdir -p "$PKG/usr/share/gconf/schemas" mv "$PKG/etc/gconf/schemas/${pkgname}.schemas" "$PKG/usr/share/gconf/schemas/" rm -r "$PKG/etc" }