commit:     4eb2f07b1942857f63bc8a00921b3ee32db806ec
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Tue Jan 16 19:52:13 2024 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Tue Jan 16 19:52:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4eb2f07b

net-misc/xh: Added missing deps, minor improvements

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 net-misc/xh/xh-0.20.1.ebuild | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/net-misc/xh/xh-0.20.1.ebuild b/net-misc/xh/xh-0.20.1.ebuild
index e4659a0d5b..16e9ca7f68 100644
--- a/net-misc/xh/xh-0.20.1.ebuild
+++ b/net-misc/xh/xh-0.20.1.ebuild
@@ -274,9 +274,14 @@ SLOT="0"
 KEYWORDS="~amd64"
 RESTRICT="test"
 
+DEPEND="
+       dev-libs/oniguruma:=
+       dev-libs/openssl:0=
+"
+
 DOCS=( {CHANGELOG,README}.md )
 
-QA_FLAGS_IGNORED="usr/bin/xh"
+QA_FLAGS_IGNORED="usr/bin/${PN}"
 
 src_configure() {
        # high magic to allow system-libs
@@ -294,12 +299,12 @@ src_install() {
        cargo_src_install
 
        # See https://github.com/ducaale/xh#making-https-requests-by-default
-       dosym xh /usr/bin/xhs
+       dosym "${PN}" "/usr/bin/${PN}s"
 
        einstalldocs
-       doman doc/xh.1
+       doman "doc/${PN}.1"
 
-       newbashcomp completions/xh.bash xh
-       dozshcomp completions/_xh
-       dofishcomp completions/xh.fish
+       newbashcomp "completions/${PN}.bash" "${PN}"
+       dozshcomp "completions/_${PN}"
+       dofishcomp "completions/${PN}.fish"
 }

Reply via email to