void-packages/srcpkgs/qt6-networkauth/template
2021-11-03 15:34:47 +01:00

31 lines
963 B
Bash

# Template file for 'qt6-networkauth'
pkgname=qt6-networkauth
version=6.2.1
revision=1
wrksrc="qtnetworkauth-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr"
hostmakedepends="perl qt6-base-devel"
makedepends="qt6-base-devel"
short_desc="Cross-platform application and UI framework - networkauth"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-only"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtnetworkauth-everywhere-src-${version}.tar.xz"
checksum=8027f85095a9c56d8cada988527454f786a5f8dd4157206db4f21299016d1c9e
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DQT_BUILD_TESTS=ON"
fi
qt6-networkauth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}