mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
x11-misc/sxcs: new package
Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
This commit is contained in:
37
x11-misc/sxcs/sxcs-0.7.ebuild
Normal file
37
x11-misc/sxcs/sxcs-0.7.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2021-2022 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"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC=$(tc-getCC) \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user