#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=kadu pkgver=0.11.0 zenver=72 pkgrel=1 arch=i686 source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://www.kadu.net/ sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "kadu - A Qt-based Jabber/XMPP and Gadu-Gadu client" "Kadu is a dynamically evolving instant messenger compatible with" "the Gadu-Gadu protocol. It can be run on all platforms supporting" "the Qt toolkit (except Windows)." "Kadu's modular structure enables the programmer to add new" "functionality by writing a new module or to remove unneeded" "features by not building all shipped modules." ) build() { cd $startdir/src/$pkgname-$pkgver cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ -DSYSCONF_INSTALL_DIR=/etc \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \ -DBUILD_DESCRIPTION="Slackware" make || return 1 make install DESTDIR=$startdir/pkg }