void-packages/srcpkgs/liblxqt/template

27 lines
844 B
Bash

# Template file for 'liblxqt'
pkgname=liblxqt
version=1.0.0
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt5-qmake qt5-host-tools
polkit-qt5-devel"
makedepends="kwindowsystem-devel libqtxdg-devel libXScrnSaver-devel
polkit-qt5-devel"
short_desc="Core utility library for all LXQt components"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt.org/"
distfiles="https://github.com/lxqt/liblxqt/releases/download/${version}/liblxqt-${version}.tar.xz"
checksum=d62820a94839637aedd6a0ceecc232f85d8ccd2173d4ec655cd92c9cbcbcc98c
liblxqt-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/cmake
}
}