23 lines
805 B
Bash
23 lines
805 B
Bash
# Template file for 't2ec'
|
|
pkgname=t2ec
|
|
version=1.2
|
|
revision=1
|
|
noarch=yes
|
|
depends="python3 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 <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"
|
|
checksum=17efe5460e10c66b2f1ce635ee4bb0205df9217008941dfc0b84f4768f3b01ef
|
|
|
|
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}
|
|
}
|