app-misc/tmux-mighty-scroll - 20241109 (nest)

Search

Package Information

Description:
Seamless mouse scroll in tmux
Homepage:
https://github.com/noscript/tmux-mighty-scroll
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
20241109 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

COMMIT="c34808da912a6b4530d1c9dec8338757b6ec505a"

DESCRIPTION="Seamless mouse scroll in tmux"
HOMEPAGE="https://github.com/noscript/tmux-mighty-scroll"
SRC_URI="https://github.com/noscript/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

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

RDEPEND="app-misc/tmux"

PATCHES=( "${FILESDIR}/${PN}"-20241109-prefetch-build.patch )

src_compile() {
	edo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o pscheck pscheck.c
}

src_test() {
	edo ./test.sh
}

src_install() {
	einstalldocs
	dobin pscheck
	insinto /usr/share/tmux-plugins/tmux-mighty-scroll
	doins -r scripts tmux.conf mighty-scroll.tmux
	fperms +x /usr/share/tmux-plugins/tmux-mighty-scroll/mighty-scroll.tmux
}

Dependencies

RDEPEND

app-misc/tmux

Manifest for 20241109

Type File Size Source URLs
DIST tmux-mighty-scroll-20241109.tar.gz 5747 bytes https://github.com/noscript/tmux-mighty-scroll/archive/c34808da912a6b4530d1c9dec8338757b6ec505a.tar.gz