594a143b47
[ci skip]
30 lines
918 B
Bash
30 lines
918 B
Bash
# Template file for 'kcontacts'
|
|
pkgname=kcontacts
|
|
reverts="19.08.2_1 19.08.1_1 19.08.0_1 19.04.3_1"
|
|
version=5.72.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
|
|
gettext kcoreaddons"
|
|
makedepends="qt5-devel kcoreaddons-devel ki18n-devel kconfig-devel kcodecs-devel"
|
|
short_desc="Address book API for KDE"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kcontacts"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=adec7528f13bcf3015d9604204cf7642e891c0be79b72aa10fd13f0a237c5d8d
|
|
|
|
pre_check() {
|
|
export QT_QPA_PLATFORM=offscreen
|
|
}
|
|
|
|
kcontacts-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"
|
|
}
|
|
}
|