source ../frameworks.conf pkgname=kpeople pkgver=${KFVersion} pkgrel=1 pkgdesc='A library that provides access to all contacts and the people who hold them' arch=('x86_64') url='http://community.kde.org/KTp/libkpeople' license=(LGPL) depends=('kservice' 'kwidgetsaddons' 'kitemviews' "qt5-declarative=${KFQtVersion}") makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python') conflicts=('libkpeople') groups=(kf5) options=("debug") source=("${KFServer}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DLIB_INSTALL_DIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } package() { cd build make DESTDIR="$pkgdir" install }