void-packages/srcpkgs/polkit-qt5/template

26 lines
783 B
Bash

# Template file for 'polkit-qt5'
pkgname=polkit-qt5
version=0.113.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://projects.kde.org/projects/kdesupport/polkit-qt-1"
distfiles="${KDE_SITE}/polkit-qt-1/polkit-qt-1-${version}.tar.xz"
checksum=5b866a2954ef10ffb66156e2fe8ad0321b5528a8df2e4a91b02f5041ce5563a7
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"
}
}