void-packages/srcpkgs/psuinfo/template

23 lines
748 B
Bash
Raw Normal View History

2018-12-15 23:48:03 +01:00
# Template file for 'psuinfo'
pkgname=psuinfo
version=1.0
revision=1
noarch=yes
depends="python3>=3.5 python3-psutil"
short_desc="A command to display customizable system info it Tint2 or other panels"
maintainer="Piotr Miller <nwg.piotr@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/nwg-piotr/psuinfo"
distfiles="https://github.com/nwg-piotr/psuinfo/archive/v${version}.tar.gz"
checksum=3b26b17e3da5b5f736b1c1235bc2411c315b7cb32a82616a7c3c8e30e16687e9
do_install() {
vmkdir usr/bin
vmkdir usr/share/${pkgname}
vmkdir usr/share/tint2
vcopy "icons/*.*" usr/share/${pkgname}
vcopy "psuinfo-1.0-2" usr/share/${pkgname}/${pkgname}
vcopy "configs/*.*" usr/share/tint2
ln -sf /usr/share/psuinfo/psuinfo ${DESTDIR}/usr/bin
}