# Template file for 'kdb'
pkgname=kdb
version=3.2.0
revision=11
build_style=cmake
configure_args="-DCMAKE_CXX_STANDARD=17"
hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons python3
 qt5-qmake qt5-host-tools python3"
makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel
 sqlite-devel"
short_desc="Database connectivity and creation framework"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="http://www.kexi-project.org/"
distfiles="${KDE_SITE}/kdb/src/kdb-${version}.tar.xz"
checksum=8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069

kdb-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove usr/lib/qt5/mkspecs
		vmove "usr/lib/*.so"
	}
}
