# Template file for 'cpufetch'
pkgname=cpufetch
version=1.07
revision=1
archs="~armv5* ~mips*"
build_style=gnu-makefile
make_build_args="arch=${XBPS_TARGET_MACHINE%-musl}"
make_use_env=yes
short_desc="Simple yet fancy CPU architecture fetching tool"
maintainer="clos3y <sam.w.close@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/Dr-Noob/cpufetch"
distfiles="https://github.com/Dr-Noob/cpufetch/archive/refs/tags/v${version}.tar.gz"
checksum=dc3ec8f9c9d41d8434702a778cc150b196d5d178fd768a964f57d22f268a2c17

do_install() {
	vbin cpufetch
	vman cpufetch.1
}
