# Template file for 'lxqt-admin'
pkgname=lxqt-admin
version=0.13.0
revision=1
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="lxqt-build-tools qt5-qmake qt5-host-tools polkit-qt5-devel"
makedepends="liblxqt-devel"
short_desc="LXQt system administration tool"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt.org/"
distfiles="https://github.com/lxqt/lxqt-admin/releases/download/${version}/lxqt-admin-${version}.tar.xz"
checksum=41dbadbd3deb36de13a4d8b435691f4fc16e520954d1dc56f30329898cd97763

post_install() {
	# depends on systemd-{timedated,timesyncd}
	rm -f ${DESTDIR}/usr/bin/lxqt-admin-time
	rm -f ${DESTDIR}/usr/share/applications/lxqt-admin-time.desktop
}
