void-packages/srcpkgs/kdb/template

31 lines
874 B
Bash
Raw Normal View History

2018-03-08 15:02:14 +00:00
# Template file for 'kdb'
pkgname=kdb
version=3.1.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules doxygen pkg-config"
makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel
sqlite-devel"
short_desc="Database connectivity and creation framework"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="http://www.kexi-project.org/"
distfiles="https://download.kde.org/stable/kdb/src/kdb-${version}.tar.xz"
checksum=175645a149ae4d758ff2746900f6eabe4734b2bdac4d8c95893c650be4f929f2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools python3"
fi
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"
}
}