mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
@@ -1 +1,2 @@
|
||||
DIST selx-1.2.0.tar.gz 23368 BLAKE2B 8fc3eba78029ae5e3268bca008c9022f8984e880a05c96e1f2be143809a2df2dc76e46334b4b8556867474fca80ae7703ecebecbb059fb43f98eab2e5d9be596 SHA512 bc8304f38fba72e624438f31b4e58666f0ea5f1738ad808bb0a926d9be19b4b68621f8396426c894d41b858dfa7d34939f17b2da389e8e0116b37c424204772c
|
||||
DIST selx-2.0.0.tar.gz 23649 BLAKE2B 87a784844b135771beb158c0247177e9dd2d2ef78e8c6b2527007b5e1507444e1b8a87c055f963d1f51581cc93370c47392b1ddb2952913e983d7b83f1986768 SHA512 47e761d50f56c3a0829f4b0bcba980cd9e75775bee99aecfe035a0a5dfd9bc780e83d30f7b66b9fd12a845d4f79a3e971b43f5e0f407ad3a3d8b8b57184a28c8
|
||||
|
||||
32
x11-misc/selx/selx-2.0.0.ebuild
Normal file
32
x11-misc/selx/selx-2.0.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs edo shell-completion
|
||||
|
||||
DESCRIPTION="Minimal X11 rectangle selection tool"
|
||||
HOMEPAGE="https://codeberg.org/NRK/selx"
|
||||
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/libXrandr
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
edo $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xrandr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin selx
|
||||
doman selx.1
|
||||
dozshcomp etc/zsh-completion/_selx
|
||||
}
|
||||
Reference in New Issue
Block a user