From 794ef69bd36eb66df2c6bba7a8eb327b4a9bd0a4 Mon Sep 17 00:00:00 2001 From: Theron York Date: Mon, 11 May 2026 21:52:27 -0500 Subject: [PATCH] sys-apps/fetchit: Fixed the live ebuild It was failing to compile it should compile now Signed-off-by: Theron York --- sys-apps/fetchit/fetchit-9999.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sys-apps/fetchit/fetchit-9999.ebuild b/sys-apps/fetchit/fetchit-9999.ebuild index b938f3a041..817400d976 100644 --- a/sys-apps/fetchit/fetchit-9999.ebuild +++ b/sys-apps/fetchit/fetchit-9999.ebuild @@ -3,11 +3,12 @@ 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" -inherit git-r3 LICENSE="MIT" SLOT="0" @@ -15,18 +16,20 @@ KEYWORDS="" RDEPEND="dev-lang/lua:5.4" DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND="" src_compile() { - emake || die + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -I/usr/include/lua5.4 -I src" \ + LIBS="-llua5.4" \ + || die } src_install() { - # Makefile now respects DESTDIR + PREFIX (recent commit) - emake DESTDIR="${D}" PREFIX="/usr" install || die + dobin build/fetchit dodoc README.md - # Install default config and logos insinto /usr/share/fetchit doins -r config/* } @@ -34,8 +37,6 @@ src_install() { pkg_postinst() { elog "Default config and logos have been installed to /usr/share/fetchit" elog "To set them up for your user, run:" - elog " make install-config" - elog "or copy manually:" elog " mkdir -p ~/.config/fetchit" elog " cp -r /usr/share/fetchit/* ~/.config/fetchit/" -} +} \ No newline at end of file