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