void-packages/srcpkgs/polkit-qt5/template

26 lines
771 B
Bash

# Template file for 'polkit-qt5'
pkgname=polkit-qt5
version=0.114.0
revision=1
wrksrc="polkit-qt-1-${version}"
build_style=cmake
hostmakedepends="pkg-config git qt5-host-tools qt5-qmake"
makedepends="polkit-devel qt5-devel"
short_desc="Qt-style PolicyKit API (Qt5)"
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=2eb0f22445888295ffa2bfbc0c3693847a0f973bb6b0c3e4cce0218be7e3907e
polkit-qt5-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"
}
}