summaryrefslogtreecommitdiff
path: root/x11-misc/xuv/xuv-0.2.1.ebuild
blob: 604e6ca5b90f3264a7136e1b01f17e55a9f08548 (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
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs edo

DESCRIPTION="X11 daemon to auto run commands triggered by user specified events"
HOMEPAGE="https://codeberg.org/NRK/xuv"
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"
DEPEND="${RDEPEND}"

src_compile() {
	edo $(tc-getCC) -o xuv xuv.c ${CFLAGS} ${LDFLAGS} -l X11
}

src_install() {
	dobin xuv
	doman etc/xuv.1
	doman etc/xuv.conf.5
}