Files
guru/gui-apps/grimshot/grimshot-9999.ebuild
Takuya Wakazono d4aa236eea gui-apps/grimshot: update live
- update scripts path
- add bash completion

Closes: https://bugs.gentoo.org/945030
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-26 22:10:25 +09:00

32 lines
633 B
Bash

# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 git-r3
DESCRIPTION="A helper for screenshots within sway"
HOMEPAGE="https://github.com/OctopusET/sway-contrib"
EGIT_REPO_URI="https://github.com/OctopusET/sway-contrib.git"
LICENSE="MIT"
SLOT="0"
IUSE="libnotify"
RDEPEND="
app-misc/jq
gui-apps/grim
gui-apps/slurp
gui-apps/wl-clipboard
|| ( gui-wm/sway gui-wm/swayfx )
libnotify? ( x11-libs/libnotify )
"
src_install() {
dobin grimshot/grimshot
doman grimshot/grimshot.1
newbashcomp grimshot/grimshot-completion.bash grimshot
}