pkgname=kpeople pkgver=5.50.0 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") makedepends=("extra-cmake-modules>=5.50.0" 'python3') conflicts=('libkpeople') #replaces=('libkpeople') # enable only when we switch to P5 groups=('kf5') options=("debug") source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) sha256sums=('0b98c205428160a1d4034fcff4786c31ab302e43ac404bb672f6f312c50b886d' SKIP) validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" make } package() { cd build make DESTDIR="$pkgdir" install }