app-misc/cpufetch: add 1.06

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2025-02-18 23:18:00 +09:00
parent c7954736e7
commit 8ab46aa3f5
3 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Simplistic yet fancy CPU architecture fetching tool"
HOMEPAGE="https://github.com/Dr-Noob/cpufetch"
SRC_URI="https://github.com/Dr-Noob/cpufetch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
src_prepare() {
default
tc-export CC
}
src_install() {
dobin "${PN}"
doman "${PN}.1"
newdoc README.md README
dodoc -r doc/.
}