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>
This commit is contained in:
Takuya Wakazono 2024-11-26 22:08:57 +09:00
parent afbb51dcd0
commit d4aa236eea
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61

View File

@ -1,9 +1,9 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
inherit bash-completion-r1 git-r3
DESCRIPTION="A helper for screenshots within sway"
HOMEPAGE="https://github.com/OctopusET/sway-contrib"
@ -21,11 +21,11 @@ RDEPEND="
gui-apps/slurp
gui-apps/wl-clipboard
|| ( gui-wm/sway gui-wm/swayfx )
!!<=gui-wm/sway-1.8.1[grimshot]
libnotify? ( x11-libs/libnotify )
"
src_install() {
dobin grimshot
doman grimshot.1
dobin grimshot/grimshot
doman grimshot/grimshot.1
newbashcomp grimshot/grimshot-completion.bash grimshot
}