mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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:
28
app-misc/ufetch/ufetch-0.2.ebuild
Normal file
28
app-misc/ufetch/ufetch-0.2.ebuild
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user