void-packages/srcpkgs/polkit-qt5/template

25 lines
739 B
Bash

# Template file for 'polkit-qt5'
pkgname=polkit-qt5
version=0.200.0
revision=1
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=5d3b611c062d2b76a93750bb10c907bfd21d1ff08d0a15dc2cf63e278e1677fb
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"
}
}