# Template file for 'tlpui'
pkgname=tlpui
version=1.10.1
revision=1
build_style="python3-pep517"
hostmakedepends="python3-poetry-core"
depends="gtk+3 tlp python3-gobject python3-yaml"
short_desc="GTK user interface for TLP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/d4nj1/TLPUI"
distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-${version/+/-}.tar.gz"
checksum=041b92149fdbc9e582857c386ac4d2800fb74535a16a8feb4f59398e96f554cc
make_check=no #tests fail inside chroot

post_install() {
	vinstall tlpui/icons/themeable/hicolor/scalable/apps/tlpui.svg 644 \
		usr/share/icons/hicolor/scalable/apps
}
