void-packages/srcpkgs/qt6-connectivity/template

31 lines
1004 B
Bash

# Template file for 'qt6-connectivity'
pkgname=qt6-connectivity
version=6.3.1
revision=1
wrksrc="qtconnectivity-everywhere-src-${version}"
build_style=cmake
hostmakedepends="perl qt6-declarative-devel"
makedepends="qt6-declarative-devel"
short_desc="Cross-platform application and UI framework - Connectivity"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtconnectivity-everywhere-src-${version}.tar.xz"
checksum=b25ce4710a9c61bc6a5dbaeeb3e2ed907a8bc85478fdb2ab4312297768b695b0
qt6-connectivity-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
qt6-declarative>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/metatypes
vmove usr/lib/pkgconfig
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
vmove usr/share/qt6/modules
}
}