# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ktp-common-internals pkgver=19.12.2 pkgrel=1 pkgdesc="Library for KTp" url="https://github.com/kde/ktp-common-internals" arch="all !armhf" # armhf blocked by extra-cmake-modules license="LGPL-2.1-only AND GPL-2.0-only" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev knotifications-dev kio-dev kwidgetsaddons-dev kcmutils-dev knotifyconfig-dev ktexteditor-dev kwallet-dev kconfig-dev kwindowsystem-dev kemoticons-dev kiconthemes-dev kpeople-dev telepathy-qt-dev" makedepends="$depends_dev extra-cmake-modules doxygen" source="https://download.kde.org/stable/release-service/$pkgver/src/ktp-common-internals-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # No tests prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="77f0edb519f46038ac25c507313fe6d7ee823a9974ef783e634391306aa488ac13afb0c4c669c9a3efeb1927483088be6330b1cfaf45d8a249c1322e04cb5e1d ktp-common-internals-19.12.2.tar.xz"