selx-1.2.0.ebuild (507B)
1 EAPI=8 2 3 inherit toolchain-funcs 4 5 DESCRIPTION="simple X11 rectangle selection tool" 6 HOMEPAGE="https://codeberg.org/NRK/selx" 7 8 SRC_URI="https://codeberg.org/NRK/selx/archive/v${PV}.tar.gz -> ${P}.tar.gz" 9 S="${WORKDIR}/${PN}" 10 11 KEYWORDS="~amd64 ~arm64" 12 LICENSE="GPL-3+" 13 SLOT=0 14 IUSE="" 15 16 RDEPEND=" 17 x11-libs/libX11 18 x11-libs/libXext 19 x11-libs/libXrandr 20 " 21 DEPEND="${RDEPEND}" 22 23 src_compile() { 24 $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext -l Xrandr 25 } 26 27 src_install() { 28 dobin selx 29 doman selx.1 30 }