void-packages/srcpkgs/qt6-connectivity/template

30 lines
954 B
Bash

# Template file for 'qt6-connectivity'
pkgname=qt6-connectivity
version=6.4.0
revision=1
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=5adc177db5ea634cc7076afd82a63bc5d12ed3b55f9a1e0400eadcb56217c54e
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
}
}