core/kpeople/PKGBUILD

37 lines
811 B
Bash
Raw Normal View History

source ../frameworks.conf
pkgname=kpeople
2015-04-06 18:22:41 +08:00
pkgver=${KFVersion}
2015-05-06 04:07:09 +08:00
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')
2015-04-12 20:09:16 +08:00
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
}