# Template file for 'futuresql'
pkgname=futuresql
version=0.1.1
revision=1
build_style=cmake
configure_args="-DQT_MAJOR_VERSION=6 -DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools"
makedepends="qt6-base-devel"
short_desc="Non-blocking Qt database framework"
maintainer="Nafis <mnabid.25@outlook.com>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/libraries/futuresql"
distfiles="${KDE_SITE}/futuresql/futuresql-${version}.tar.xz"
checksum=e44ed8d5a9618b3ca7ba2983ed9c5f7572e6e0a5b199f94868834b71ccbebd43

futuresql-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
