void-packages/srcpkgs/t2ec/template

24 lines
805 B
Bash
Raw Normal View History

2018-12-31 03:53:46 +01:00
# Template file for 't2ec'
pkgname=t2ec
2019-02-10 10:21:21 +01:00
version=1.3
2018-12-31 03:53:46 +01:00
revision=1
noarch=yes
2019-01-15 16:24:44 +01:00
depends="python3 acpi xbacklight alsa-utils wireless_tools wget jgmenu"
2018-12-31 03:53:46 +01:00
short_desc="Scripts to display info icons and controls in Tint2 or other panels"
maintainer="nwg-piotr <nwg.piotr@gmail.com>"
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"
2019-02-10 10:21:21 +01:00
checksum=ede6a7f9ef83d26acf7377c6306b92c451c15a318c3fdc9a35c2367da0100600
2018-12-31 03:53:46 +01:00
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}
}