31 lines
992 B
Bash
31 lines
992 B
Bash
# Template file for 'kpeople'
|
|
pkgname=kpeople
|
|
version=5.85.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
qt5-host-tools qt5-qmake python3"
|
|
makedepends="kitemviews-devel kservice-devel kwidgetsaddons-devel qt5-plugin-mysql
|
|
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
|
short_desc="Provides access to all contacts and aggregates them by person"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kpeople"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=65ba548dc9fd3a0c96bae150e5972b04be4963bce9d3cf2a1b2b8d24e5b2d60f
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E 'personsproxymodeltest|personsmodeltest'
|
|
}
|
|
|
|
kpeople-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|