mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Signed-off-by: Misha Zavertkin <misha.zavertkin@mail.ru> Closes: https://github.com/gentoo/guru/pull/198 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
37 lines
753 B
Bash
37 lines
753 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit optfeature
|
|
|
|
DESCRIPTION="Hyprshot is a utility to easily take screenshot in Hyprland using your mouse"
|
|
HOMEPAGE="https://github.com/Gustash/Hyprshot/"
|
|
SRC_URI="https://github.com/Gustash/Hyprshot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}"/Hyprshot-${PV}
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
app-misc/jq
|
|
app-shells/bash
|
|
gui-apps/grim
|
|
gui-apps/slurp
|
|
gui-apps/wl-clipboard
|
|
gui-wm/hyprland
|
|
x11-libs/libnotify
|
|
"
|
|
|
|
src_install() {
|
|
dobin hyprshot
|
|
einstalldocs
|
|
}
|
|
|
|
pkg_postinst() {
|
|
optfeature "--freeze option support" gui-apps/hyprpicker
|
|
optfeature "XDG user dir support" x11-misc/xdg-user-dirs
|
|
|
|
}
|