mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-misc/xh: Added missing deps, minor improvements
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -274,9 +274,14 @@ SLOT="0"
|
|||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
RESTRICT="test"
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/oniguruma:=
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
"
|
||||||
|
|
||||||
DOCS=( {CHANGELOG,README}.md )
|
DOCS=( {CHANGELOG,README}.md )
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/xh"
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
# high magic to allow system-libs
|
# high magic to allow system-libs
|
||||||
@@ -294,12 +299,12 @@ src_install() {
|
|||||||
cargo_src_install
|
cargo_src_install
|
||||||
|
|
||||||
# See https://github.com/ducaale/xh#making-https-requests-by-default
|
# See https://github.com/ducaale/xh#making-https-requests-by-default
|
||||||
dosym xh /usr/bin/xhs
|
dosym "${PN}" "/usr/bin/${PN}s"
|
||||||
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
doman doc/xh.1
|
doman "doc/${PN}.1"
|
||||||
|
|
||||||
newbashcomp completions/xh.bash xh
|
newbashcomp "completions/${PN}.bash" "${PN}"
|
||||||
dozshcomp completions/_xh
|
dozshcomp "completions/_${PN}"
|
||||||
dofishcomp completions/xh.fish
|
dofishcomp "completions/${PN}.fish"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user