diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-22 05:40:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-22 05:40:04 +0000 |
commit | e621d36783ba0760925a62dd23c71495436fe753 (patch) | |
tree | 4e93396084f2d3592eb54edd2afd3458594f5f28 /x11-misc/sxcs/sxcs-1.0.0.ebuild | |
parent | 51012ef0261a9da2e4487144906632d06607d3b9 (diff) |
gentoo auto-resync : 22:02:2024 - 05:40:04
Diffstat (limited to 'x11-misc/sxcs/sxcs-1.0.0.ebuild')
-rw-r--r-- | x11-misc/sxcs/sxcs-1.0.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-misc/sxcs/sxcs-1.0.0.ebuild b/x11-misc/sxcs/sxcs-1.0.0.ebuild new file mode 100644 index 000000000000..0ffac067fd37 --- /dev/null +++ b/x11-misc/sxcs/sxcs-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Color picker and magnifier for X11" +HOMEPAGE="https://codeberg.org/NRK/sxcs" + +SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXcursor +" +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xcursor || die "Compilation failed" +} + +src_install() { + dobin sxcs + doman sxcs.1 + dodoc README.md +} |