void-packages/srcpkgs/polkit-qt6/template

26 lines
772 B
Bash

# Template file for 'polkit-qt6'
pkgname=polkit-qt6
version=0.200.0
revision=1
build_style=cmake
configure_args="-DQT_MAJOR_VERSION=6"
hostmakedepends="pkg-config qt6-tools qt6-base"
makedepends="polkit-devel qt6-base-devel"
short_desc="Qt-style PolicyKit API (Qt6)"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/libraries/polkit-qt-1"
distfiles="${KDE_SITE}/polkit-qt-1/polkit-qt-1-${version}.tar.xz"
checksum=5d3b611c062d2b76a93750bb10c907bfd21d1ff08d0a15dc2cf63e278e1677fb
polkit-qt6-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}