app-misc/ufetch: New package

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2020-07-03 15:07:29 +02:00
parent ee552316ae
commit e1b05030d4
5 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://gitlab.com/jschx/${PN}"
case "${PV}" in
"9999")
inherit git-r3
;;
*)
P0="${PN}-v${PV}"
SRC_URI="${EGIT_REPO_URI}/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P0}"
esac
DESCRIPTION="Tiny system info for Unix-like operating systems"
HOMEPAGE="${EGIT_REPO_URI}"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() {
exeinto /usr/bin &&
newexe ufetch-gentoo ufetch ||
die "Failed to install ufetch"
}