void-packages/srcpkgs/qt6-connectivity/template

30 lines
961 B
Bash

# Template file for 'qt6-connectivity'
pkgname=qt6-connectivity
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="perl qt6-declarative-host-tools"
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=1c29c26247c28ef19b9ca87c38b4d61a1f94ee9021897962e0d5ba215f1c4010
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/qt6/metatypes
vmove usr/lib/pkgconfig
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
vmove usr/lib/qt6/modules
}
}