portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

Commit: 236d68c5899f747a134cf0eee8a8cab589029dc8
Parent: 97e280feaf94f6d85e8c482c7edaea2daa6417ef
Author: Randy Palamar
Date:   Fri, 14 Jul 2023 22:21:25 -0600

add x11-misc/sx4 for making selections

Diffstat:
Ax11-misc/sx4/Manifest | 1+
Ax11-misc/sx4/sx4-0.1.0.ebuild | 29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/x11-misc/sx4/Manifest b/x11-misc/sx4/Manifest @@ -0,0 +1 @@ +DIST sx4-0.1.0.tar.gz 20529 BLAKE2B 01ceb6806153871fdbbfb75147de586fae15b6ad14c410f0d86776ef79340c95f2962eaf0e9f55257fd1a13386a6c2cc0527801e4357dac2c274014973937c9b SHA512 7cf968f1acb02a210047272f90503f4a8afbf4050c377bea1ba2af2ddb09a7bc97884a6d15b179a02864229bf445eae8c13fb9282345a7d244732e586d0194c2 diff --git a/x11-misc/sx4/sx4-0.1.0.ebuild b/x11-misc/sx4/sx4-0.1.0.ebuild @@ -0,0 +1,29 @@ +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="simple X11 rectangle selection tool" +HOMEPAGE="https://codeberg.org/NRK/sx4" + +SRC_URI="https://codeberg.org/NRK/sx4/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT=0 +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext +" +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o sx4 sx4.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext +} + +src_install() { + dobin sx4 + doman sx4.1 +}