# $Id: PKGBUILD 53875 2009-10-03 18:02:00Z andrea $ # Maintainer: Andrea Scarpino # Contributor: James Rayner # Contributor: Sergio Jovani Guzman pkgname=konversation pkgver=1.2.rc1 _pkgver=1.2-rc1 pkgrel=1 pkgdesc="A user friendly IRC client for KDE" arch=('i686' 'x86_64') url="http://konversation.kde.org" depends=('kdebase-runtime' 'libxss' 'kdepimlibs' 'qca') makedepends=('automoc4' 'cmake' 'pkgconfig') license=('GPL2' 'FDL') install=konversation.install source=(http://download.kde.org/unstable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.bz2) md5sums=('9a672517399354296ec13a9368cbfcb8') build() { cd ${srcdir} mkdir build cd build cmake ../${pkgname}-${_pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ -DCMAKE_INSTALL_PREFIX=/usr make || return 1 make DESTDIR=${pkgdir} install || return 1 }