diff options
| author | baldr333 <ra@afu.re> | 2025-08-02 21:34:36 -0400 |
|---|---|---|
| committer | baldr333 <ra@afu.re> | 2025-08-02 21:34:36 -0400 |
| commit | 39d47cb2043e774a153e4d8a17d8b932e80e5ca0 (patch) | |
| tree | 228650160fb46f4ce627182146400282db170314 | |
| parent | 4598ad52938cb30583b07d937d4efbc9f0eee2a2 (diff) | |
add htop-vim-9999.ebuild
| -rw-r--r-- | sys-process/htop-vim/Manifest | 2 | ||||
| -rw-r--r-- | sys-process/htop-vim/htop-vim-9999.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-process/htop-vim/Manifest b/sys-process/htop-vim/Manifest new file mode 100644 index 0000000..602a47c --- /dev/null +++ b/sys-process/htop-vim/Manifest @@ -0,0 +1,2 @@ +DIST htop-vim-9999.tar.gz 372698 BLAKE2B 667ce74491a49c7068d0df352cdf394167db50cbc7bc33ab0383fc35294e55b594946d3eace422f6618ba3112b6372acb8b974b8198339a32e6595fa8a233020 SHA512 06689370b81f0d0ece48fc9d466e554b25b0aab6bd9281025f990f36b0fdc2302416b5e7617d27eee37db85ffab9618c1573dd15701fa71e5ff9947902966386 +EBUILD htop-vim-9999.ebuild 1103 BLAKE2B 0c09ba67676c951abf0847e84bcf319647fa8f756448297b78f6fd04ea101c124f7a7ccd73a2eac7ee1a4252fe2944b034e1ee778533664ecdf08619f65a6d90 SHA512 0d1a90a26e505662d9ad801e9b4deaa9daafb6e8e0ad7c93a899635ffb0a5a63e214b10056d24c203a5347517b30ed006d631ab6f4ce51f74315952508112b88 diff --git a/sys-process/htop-vim/htop-vim-9999.ebuild b/sys-process/htop-vim/htop-vim-9999.ebuild new file mode 100644 index 0000000..5189c38 --- /dev/null +++ b/sys-process/htop-vim/htop-vim-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="htop with vim-style keybindings" +HOMEPAGE="https://github.com/KoffeinFlummi/htop-vim" +SRC_URI="https://github.com/KoffeinFlummi/htop-vim/archive/refs/heads/master.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="caps debug hwloc openvz sensors unicode vserver" + +DEPEND=" + sys-libs/ncurses:0=[unicode(+)?] + caps? ( sys-libs/libcap ) + hwloc? ( sys-apps/hwloc:= ) + sensors? ( sys-apps/lm-sensors:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-master" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable caps capabilities) + $(use_enable debug) + $(use_enable hwloc) + $(use_enable openvz) + $(use_enable sensors) + $(use_enable unicode) + $(use_enable vserver) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + mv "${ED}"/usr/bin/htop "${ED}"/usr/bin/htop-vim || die + mv "${ED}"/usr/share/man/man1/htop.1 "${ED}"/usr/share/man/man1/htop-vim.1 || die +} |
