psuinfo: update to 1.1

This commit is contained in:
Benjamin Slade 2020-05-19 00:52:37 -06:00 committed by Helmut Pozimski
parent 2fc8ac8fcf
commit 7759b167d2

View file

@ -1,22 +1,20 @@
# Template file for 'psuinfo'
pkgname=psuinfo
version=1.0
version=1.1
revision=1
archs=noarch
depends="python3>=3.5 python3-psutil"
short_desc="A command to display customizable system info it Tint2 or other panels"
short_desc="Script to display customizable system info in 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
checksum=bd10d37a88729fe8934bc37cd70403bc606e0959ddcdad941a6cc5846583db3d
do_install() {
vmkdir usr/bin
vmkdir usr/share/${pkgname}
vbin "${pkgname}"
vmkdir usr/share/"${pkgname}"
vmkdir usr/share/tint2
vcopy "icons/*.*" usr/share/${pkgname}
vcopy "psuinfo-1.0-2" usr/share/${pkgname}/${pkgname}
vcopy "icons/*.*" usr/share/"${pkgname}"
vcopy "configs/*.*" usr/share/tint2
ln -sf /usr/share/psuinfo/psuinfo ${DESTDIR}/usr/bin
}