core/kpeople/PKGBUILD
2018-01-25 00:42:02 +01:00

35 lines
804 B
Bash

source ../frameworks.conf
pkgname=kpeople
pkgver=${KFVersion}
pkgrel=2
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>=${KFECMVersion}" 'python3')
conflicts=('libkpeople')
#replaces=('libkpeople') # enable only when we switch to P5
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
SKIP)
validpgpkeys=( ${KFvalidpgpkeys[@]} )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}