Files
guru/app-misc/ufetch/ufetch-0.2.ebuild
Matthias Coppens e1b05030d4 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>
2020-07-03 15:08:15 +02:00

29 lines
578 B
Bash

# 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"
}