blob: 1912e1c5075f62fd4c99a0140b500601a16052c1 (
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
|
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the MIT License
EAPI=8
DESCRIPTION="Emulates the main features of tdrop in Hyprland"
HOMEPAGE="https://github.com/hyprwm/contrib"
COMMIT="8e6c02ac3dfbff878ef300266598737ee9cedf94"
if [[ "${PV}" = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
else
SRC_URI="https://github.com/hyprwm/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/contrib-${COMMIT}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
app-misc/jq
gui-wm/hyprland
sys-apps/util-linux
"
DEPEND="${RDEPEND}"
src_install() {
pushd ${PN} || die
emake DESTDIR="${D}" PREFIX="${D}/usr" install
}
|