2015-03-09 06:16:11 +08:00
|
|
|
|
2015-03-22 05:06:06 +08:00
|
|
|
pkgname=kpeople
|
2018-06-11 03:42:00 +08:00
|
|
|
pkgver=5.46.0
|
2018-02-07 06:15:45 +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)
|
2015-06-10 04:56:15 +08:00
|
|
|
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')
|
2015-06-10 05:13:28 +08:00
|
|
|
#replaces=('libkpeople') # enable only when we switch to P5
|
2015-06-10 04:56:15 +08:00
|
|
|
groups=('kf5')
|
2015-03-09 06:16:11 +08:00
|
|
|
options=("debug")
|
2018-06-11 04:13:32 +08:00
|
|
|
_url="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
2018-06-11 03:42:00 +08:00
|
|
|
source=(${_url}{,.sig})
|
|
|
|
sha256sums=($(curl "$_url.sha256" | cut -c-64)
|
|
|
|
SKIP)
|
|
|
|
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
|
2015-03-09 06:16:11 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
2015-03-22 05:06:06 +08:00
|
|
|
build() {
|
2015-03-09 06:16:11 +08:00
|
|
|
cd build
|
2018-06-11 05:00:10 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2018-06-11 04:49:02 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2018-06-11 03:42:00 +08:00
|
|
|
-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 "$@"
|
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
|
|
|
}
|