void-packages/srcpkgs/qt6-connectivity/template

30 lines
959 B
Bash

# Template file for 'qt6-connectivity'
pkgname=qt6-connectivity
version=6.4.2
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=8c9b44b239e42b4c4d6fca5f427904e688890b2a1bfb6bcbe5e6e2afcdc5d7af
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
}
}