summaryrefslogtreecommitdiff
path: root/x11-misc/tdrop/tdrop-0.5.0.ebuild
blob: 252c3456998e5aaf31eced719619d36d344a7daf (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
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit optfeature

DESCRIPTION="WM-Independent Dropdown Creator"
HOMEPAGE="https://github.com/noctuid/tdrop"

if [[ ${PV} == "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/noctuid/tdrop"
else
	SRC_URI="https://github.com/noctuid/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~ppc64"
fi

LICENSE="BSD-2"
SLOT="0"
IUSE=""

RDEPEND="
	app-shells/bash
	sys-apps/gawk
	sys-process/procps
	x11-apps/xprop
	x11-apps/xrandr
	x11-apps/xwininfo
	x11-misc/xdotool
"

src_compile() {
	:
}

src_install() {
	dobin tdrop
	doman tdrop.1
	dodoc README.org
}

pkg_postinst() {
	optfeature "tmux session support" app-misc/tmux
}