core/kpeople/PKGBUILD

33 lines
731 B
Bash
Raw Normal View History

source ../frameworks.conf
pkgname=kpeople
2015-04-06 18:22:41 +08:00
pkgver=${KFVersion}
pkgrel=4
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")
2015-06-08 19:20:42 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python3')
2015-04-12 20:09:16 +08:00
conflicts=('libkpeople')
#replaces=('libkpeople') # enable only when we switch to P5
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2015-06-08 19:20:42 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}