pkgname=konversation-kf5 _pkgname=konversation pkgver=1.5.1 _pkgver=1.5.1 pkgrel=1 pkgdesc="A user friendly IRC client for KDE" arch=('x86_64') url="http://konversation.kde.org" license=('GPL2' 'FDL') depends=('akonadi-qt5' 'kfilemetadata5' 'kidletime' 'kcmutils' 'krunner' 'kdelibs4support' 'kemoticons' 'knotifyconfig' 'phonon-qt5' 'kf5-baloo-widgets' 'qca-qt5') makedepends=('extra-cmake-modules' 'kdoctools' 'git') conflicts=('konversation') groups=('communication') #source=("http://download.kde.org/stable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.xz") source=("git://anongit.kde.org/konversation.git#branch=frameworks") md5sums=('SKIP') prepare() { mkdir -p build } build() { cd build cmake ../${_pkgname} \ -DCMAKE_BUILD_TYPE=${KFBuildType} \ -DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \ -DQT4_BUILD=OFF \ -DLIB_INSTALL_DIR=lib make } check() { cd build make test || return 0 } package() { cd build make DESTDIR="${pkgdir}" install }