void-packages/srcpkgs/tlpui/template

21 lines
689 B
Bash

# Template file for 'tlpui'
pkgname=tlpui
version=1.5.0+5
revision=3
build_style="python3-module"
hostmakedepends="python3-setuptools"
depends="gtk+3 tlp python3-gobject"
short_desc="GTK user interface for TLP"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
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=563794d142acb79d5654aca70af52c5e8da4cf9677e5058d151474d0af47ea77
make_check=no #tests fail inside chroot
post_install() {
vmkdir usr/share/icons
vcopy tlpui/icons/themeable/hicolor usr/share/icons
rm -r "$DESTDIR/$py3_sitelib/tlpui/icons/themeable"
}