2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kcontacts
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc='Address book API for KDE'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/KDE_PIM'
|
|
|
|
license="LGPL-2.1"
|
|
|
|
depends=""
|
|
|
|
depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kconfig-dev kcodecs-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
options="!check" # Requires running X11 server
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="be59dd2703bdbd42811ceba2059279d6f5ef47c839dffe72c722806ae87297caa5f5997c7600ef0a050cedda82bb31d7c5ddfed579b747aa0aa97e0929780e05 kcontacts-18.12.0.tar.xz"
|