blob: dce6b92cfa8806f586315bcf3c903873ac0b9cea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo shell-completion 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}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
x11-libs/libX11
x11-libs/libXcursor
"
DEPEND="${RDEPEND}"
src_compile() {
edo $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xcursor
}
src_install() {
dobin sxcs
doman sxcs.1
dodoc README.md
dozshcomp etc/zsh-completion/_sxcs
}
|