sys-apps/fetchit:

modified:   sys-apps/fetchit/fetchit-0.1.0.ebuild
	modified:   sys-apps/fetchit/fetchit-9999.ebuild

Signed-off-by: Theron York <theron.york@cloudnuke.org>

	modified:   sys-apps/fetchit/fetchit-0.1.0.ebuild
	modified:   sys-apps/fetchit/fetchit-9999.ebuild
This commit is contained in:
Theron York
2026-05-06 13:46:42 -05:00
parent 5157b278ff
commit e3057cd72c
2 changed files with 29 additions and 35 deletions

View File

@@ -5,8 +5,8 @@ EAPI=8
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"
EGIT_REPO_URI="https://codeberg.org/nzuum/fetchit.git"
inherit git-r3
LICENSE="MIT"
@@ -18,25 +18,24 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
emake || die
emake || die
}
src_install() {
# Makefile now respects DESTDIR + PREFIX (recent commit)
emake DESTDIR="${D}" PREFIX="/usr" install || die
# Makefile now respects DESTDIR + PREFIX (recent commit)
emake DESTDIR="${D}" PREFIX="/usr" install || die
dodoc README.md
dodoc README.md
# Install default config and logos
insinto /usr/share/fetchit
doins -r config/*
# Install default config and logos
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 " make install-config"
elog "or copy manually:"
elog " mkdir -p ~/.config/fetchit"
elog " cp -r /usr/share/fetchit/* ~/.config/fetchit/"
}
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/"
}