From b0977b9f219487ef7141c33ac1b841ce781be8e3 Mon Sep 17 00:00:00 2001 From: Victor Tebar Date: Wed, 4 May 2022 22:00:36 +0200 Subject: [PATCH] New package: tlpui-1.5.0 --- srcpkgs/tlpui/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/tlpui/template diff --git a/srcpkgs/tlpui/template b/srcpkgs/tlpui/template new file mode 100644 index 000000000000..c83d6537746f --- /dev/null +++ b/srcpkgs/tlpui/template @@ -0,0 +1,24 @@ +# Template file for 'tlpui' +pkgname=tlpui +version=1.5.0 +revision=1 +wrksrc="TLPUI-${pkgname}-${version}" +makedepends="python-setuptools" +depends="tlp python-gobject" +short_desc="A GTK user interface for TLP written in Python" +maintainer="Visone Selektah " +license="GPL2" +homepage="https://github.com/d4nj1/TLPUI" +distfiles="https://github.com/d4nj1/TLPUI/archive/refs/tags/tlpui-1.5.0.tar.gz" +checksum=37c31f88798c5dc2b7e77e49bcc2ef3d374abb93b2f903b2cd836fbcc5947b9a + + +do_build() { + python ./setup.py build +} + +do_install() { + export PYTHONHASHSEED=0 + python setup.py install --root="${DESTDIR}/" --optimize=1 --skip-build + vinstall tlpui.desktop 644 usr/share/xsessions +}