From 9ca71e4218b1a842a6e64c8e7f103e6bf795cd8b Mon Sep 17 00:00:00 2001 From: nwg-piotr Date: Mon, 31 Dec 2018 03:53:46 +0100 Subject: [PATCH] New package: t2ec-1.1 --- srcpkgs/t2ec/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/t2ec/template diff --git a/srcpkgs/t2ec/template b/srcpkgs/t2ec/template new file mode 100644 index 00000000000..c05dae6191a --- /dev/null +++ b/srcpkgs/t2ec/template @@ -0,0 +1,23 @@ +# Template file for 't2ec' +pkgname=t2ec +version=1.1 +revision=1 +noarch=yes +depends="python3>=3.5 acpi xbacklight alsa-utils wireless_tools wget jgmenu" +short_desc="Scripts to display info icons and controls in Tint2 or other panels" +maintainer="nwg-piotr " +license="GPL-3.0-or-later" +homepage="https://github.com/nwg-piotr/t2ec" +distfiles="https://github.com/nwg-piotr/t2ec/archive/v${version}.tar.gz" +checksum=6b118cfcb4161920b8b66f04bd5ee24a019aa6e3e0bce77e74aa78db14e36ac5 + +do_install() { + vmkdir usr/bin + vmkdir usr/share/${pkgname} + vmkdir usr/lib/${pkgname} + vmkdir usr/share/tint2 + vcopy "images/*.*" usr/share/${pkgname} + vcopy "scripts-void/*.*" usr/lib/${pkgname} + vcopy "configs-void/*.*" usr/share/tint2 + ln -sf /usr/lib/${pkgname}/${pkgname}.sh ${DESTDIR}/usr/bin/${pkgname} +}