You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
619 B
33 lines
619 B
# 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
|
|
}
|