mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
Directly bump & clean up 1.1.1. Upstream churn should be settled now. Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/44461 Closes: https://github.com/gentoo/gentoo/pull/44461 Signed-off-by: Sam James <sam@gentoo.org>
33 lines
791 B
Bash
33 lines
791 B
Bash
# Copyright 1999-2025 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/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://www.applied-asynchrony.com/distfiles/${P}-deps.tar.xz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
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}
|
|
}
|