mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
net-dns/doggo: add 1.1.7
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1005 Merges: https://codeberg.org/gentoo/gentoo/pulls/1005 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST doggo-1.1.5-vendor.tar.xz 2386128 BLAKE2B 23d5b9b2b48cb29667aa469ea93a7604c624c5d062feb347081179d724e560961d4ff3d0e528859d2a082609a30aa5ebff3f027a0db33b5d11c1ca0e34f43a54 SHA512 b0acd365405b8cd2ca133b07de380d9c4e03cba4643f0d36b924cbd5ae9352335dff0e8aaf489fd6bf3bcf80c1081509bab7bf52f20ba4a05c84f2cf7b5e18fb
|
||||
DIST doggo-1.1.5.tar.gz 2460993 BLAKE2B fc28921c963f280a89862dbaf6713592a3f8cfda67b99bf93a339e782ad8633a084ccaf00f9d2366df44185497b50a5b4cc8fb4304fd14648f4fe7a939a4745a SHA512 4dcd75dd67620ce1b8ff0f3deab57cc27b5b2be1b7e70f259d6535c2abbf080c45b25b1d10349cc813df7ba3d6d7979ad3aeed7912ef252bcb6e86af58a68044
|
||||
DIST doggo-1.1.7-vendor.tar.xz 2386876 BLAKE2B 3f29045f07cdf23944d7b2dd65509e8b55713813ed262258acb22651d55add5cf5fdb606490bd689dd81d89d72322299e9f10a2bffdb0ceb60275f36b2feb3e8 SHA512 ad4837455412221b856133e0c75c76f0de10b4c2ba9b286806726c2d4d181d9b1277d26781dc786cd9f85d5ed0e7302ee014b1053635a4a0f701c6bb6e50a993
|
||||
DIST doggo-1.1.7.tar.gz 2469590 BLAKE2B a3f21106d57e6d215a0f7fd08806352fe8df9c60bd6486b910d93963f39b785123a1f5d090ede9a0bf2e8a6775bf624a2f1a6e0613f15c96d57e5d3a9d558650 SHA512 27b5ca46c1ea23b8d363221bfb7a5c2dbf7f53b0ec605df26df800c649dd9b0090693da24165f258a3e8336251ed8897d23bc66ae212af272594820b3db849e5
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module shell-completion
|
||||
|
||||
DESCRIPTION="Command-line DNS Client for Humans"
|
||||
HOMEPAGE="https://github.com/mr-karan/doggo"
|
||||
|
||||
SRC_URI="https://github.com/mr-karan/doggo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-golang-dist/doggo/releases/download/v${PV}/${P}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.26.3"
|
||||
|
||||
src_compile() {
|
||||
emake build-cli VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin bin/${PN}.bin ${PN}
|
||||
|
||||
local comp
|
||||
for comp in bash fish zsh; do
|
||||
bin/${PN}.bin completions $comp > "${WORKDIR}"/${PN}.$comp || die
|
||||
done
|
||||
|
||||
newbashcomp "${WORKDIR}"/${PN}.bash ${PN}
|
||||
newfishcomp "${WORKDIR}"/${PN}.fish ${PN}.fish
|
||||
newzshcomp "${WORKDIR}"/${PN}.zsh _${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user