summaryrefslogtreecommitdiff
path: root/app-misc/nerdfetch/nerdfetch-8.3.1.ebuild
blob: 3762208dffd3336faa2bc65eb3e4b302435581ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit prefix

DESCRIPTION="A POSIX *nix fetch script using Nerdfonts"
HOMEPAGE="https://github.com/ThatOneCalculator/NerdFetch"
SRC_URI="https://github.com/ThatOneCalculator/NerdFetch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/NerdFetch-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

RDEPEND="app-portage/portage-utils"

src_prepare() {
	default
	hprefixify nerdfetch
}

src_install() {
	dobin "nerdfetch"
	dodoc "README.md"
}