Diff scrot-1.10 with a scrot-9999

/usr/portage/media-gfx/scrot/scrot-9999.ebuild 2024-08-08 10:48:51.988781952 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit bash-completion-r1
6
inherit shell-completion
7 7

  
8 8
DESCRIPTION="Screen capture utility using imlib2 library"
9 9
HOMEPAGE="https://github.com/resurrecting-open-source-projects/scrot"
10 10
if [[ ${PV} == *9999* ]] ; then
11 11
	EGIT_REPO_URI="https://github.com/resurrecting-open-source-projects/${PN}"
12 12
	inherit autotools git-r3
13
	LIVE_BDEPEND="dev-build/autoconf-archive"
13 14
else
14 15
	SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/releases/download/${PV}/${P}.tar.bz2"
15
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
16
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
16 17
fi
17 18

  
18 19
LICENSE="feh"
......
34 35
DEPEND="
35 36
	${RDEPEND}
36 37
	x11-base/xorg-proto
37
	elibc_musl? ( sys-libs/queue-standalone )
38 38
"
39 39
BDEPEND="
40
	dev-build/autoconf-archive
40
	${LIVE_BDEPEND}
41 41
	virtual/pkgconfig
42 42
"
43 43

  
44 44
DOCS=(
45
	AUTHORS ChangeLog README.md
45
	AUTHORS ChangeLog README.md FAQ.md
46 46
)
47 47

  
48 48
src_prepare() {
......
54 54
src_install() {
55 55
	default
56 56

  
57
	newbashcomp "${FILESDIR}"/${PN}-1.7.bash-completion ${PN}
57
	dozshcomp  etc/zsh-completion/_scrot
58
	dobashcomp etc/bash-completion/scrot
58 59
}
Thank you!