pkgname=kadu pkgver=4.3 pkgrel=1 pkgdesc="A Qt-based Gadu-Gadu client" arch=('x86_64') url="http://www.kadu.net/" license=('GPL') depends=('libgadu' 'libxss' 'enchant' 'phonon-qt5' 'qca-qt5' 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 'qt5-multimedia' 'qt5-x11extras' 'qt5-svg' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme') makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'qt5-tools' 'qxmpp') optdepends=('qxmpp: Jabber protocol') conflicts=('kadu-svn') screenshot=('http://www.kadu.im/wiki/images/thumb/2/24/Screen_mainpage_pl.png/450px-Screen_mainpage_pl.png') install=kadu.install source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2) md5sums=('011899121ca5a7e653892f29072032e2') prepare() { sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake } build() { mkdir build cd build cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_CXX_STANDARD=14 \ -DENABLE_TESTS=OFF make } package() { cd build make DESTDIR="$pkgdir" LIBDIR=/usr/lib install }