sys-apps/fetchit - 9999 (guru)

Search

Install

Install this version:

emerge -a =sys-apps/fetchit-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/fetchit-9999

Or alternatively:

emerge --autounmask-write -a =sys-apps/fetchit-9999

Package Information

Description:
Minimal system info fetcher written in C with Lua configuration
Homepage:
https://codeberg.org/nzuum/fetchit
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="Minimal system info fetcher written in C with Lua configuration"
HOMEPAGE="https://codeberg.org/nzuum/fetchit"

EGIT_REPO_URI="https://codeberg.org/nzuum/fetchit.git"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""

RDEPEND="dev-lang/lua:5.4"
DEPEND="${RDEPEND}"

src_compile() {
	emake \
		CC="$(tc-getCC)" \
		CFLAGS="${CFLAGS} -I/usr/include/lua5.4 -I src" \
		LIBS="-llua5.4" \
		|| die
}

src_install() {
	dobin build/fetchit
	dodoc README.md

	insinto /usr/share/fetchit
	doins -r config/*
}

pkg_postinst() {
	elog "Default config and logos have been installed to /usr/share/fetchit"
	elog "To set them up for your user, run:"
	elog "    mkdir -p ~/.config/fetchit"
	elog "    cp -r /usr/share/fetchit/* ~/.config/fetchit/"
}

Inherited Eclasses

Dependencies

DEPEND

dev-lang/lua:5.4

RDEPEND

dev-lang/lua:5.4