app-misc/gopsuinfo: add 0.1.9

Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
ingenarel
2025-07-18 17:35:25 +06:00
parent 1b6bd7b41f
commit 55280d9e80
2 changed files with 39 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST gopsuinfo-0.1.5-deps.tar.xz 2908040 BLAKE2B 1649815b31ca938345ae438661b30379fcea97ce790443aeea3c889c46e9df5f2a6a88e165e327f396e6a9a7457dcb5a67d578c6d15a9df468bf43685670e5fa SHA512 f882885461fb9f2ef4b636019ed60906a9c75cf83a63f27dda74d2e1196743888bc55b4c2aaccc6a8cb6a726b26a320c5229d2c97857b1fdd604b99d15499f94
DIST gopsuinfo-0.1.5.tar.gz 20971 BLAKE2B 42195d56e50c744cce11b765d9532204e24568c072711638fb1a139ef026f0c52de266c4e93a0c6b88eabf64bfd02b265e1dece85b80c7430e25b449e3f6ea05 SHA512 df05ff818fd4263ac9c1d9b5894474c39d15d6c9a3a2adf68bc5165393515400d976c2ff8b1fedaca4765d0dc0dedfd86e8b1f2ac714bd58b65834679c85a725
DIST gopsuinfo-0.1.9-deps.tar.xz 3338520 BLAKE2B 57ea6a5ec6c8f1c95c24aa43e6c587c7914bcfa5a35f020c8855a27dac8c3ccfc76caf4a90d0e7b8d7d438bcd6e994a8c0f3e6dfbf9584a685f70e9c24f4887a SHA512 78d8fa758b96354cd28df959185400760775af06fc875834670abcd9016a837331f0a95e13b6f4e904107eeb063f48c35fefe4a03f1b13f3fb9a3586cc158005
DIST gopsuinfo-0.1.9.tar.gz 22629 BLAKE2B b3a2f5fecf37446830aed2400f652b7c64b2b906bcd05e712944b18d31cbfa8b29a0b5e1b613b3267fe7da66a725fadf47e01d1f311e89dc8ba071e5ee0e0583 SHA512 ee4961b3eb1f9f500f24005a63c515bf62453376f691a7cc8d3d765a31e6b86a5e99735cb8c96801e191ad63900cceb8573075f14c4b595fde461bd28a0317cf

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit go-module
DESCRIPTION="A gopsutil-based command to display system usage info as text"
HOMEPAGE="https://github.com/nwg-piotr/gopsuinfo"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/nwg-piotr/gopsuinfo.git"
src_unpack() {
git-r3_src_unpack
go-module_live_vendor
}
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/nwg-piotr/gopsuinfo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz"
fi
LICENSE="MIT"
SLOT="0"
DEPEND=">=dev-lang/go-1.20"
src_compile() {
emake build
}
src_install() {
insinto /usr/share/gopsuinfo
doins -r icons_light
doins -r icons_dark
dobin bin/gopsuinfo
}