26 lines
557 B
Bash
26 lines
557 B
Bash
# Copyright 2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="command-line DNS query client"
|
|
HOMEPAGE="https://github.com/swaggo/swag"
|
|
|
|
SRC_URI="https://github.com/swaggo/swag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
SRC_URI+=" https://git.froth.zone/api/packages/packaging/generic/portage/deps/${P}-vendor.tar.xz"
|
|
|
|
LICENSE="MIT Apache-2.0 BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
|
|
src_compile() {
|
|
ego build ./cmd/swag
|
|
}
|
|
|
|
src_install() {
|
|
dobin ./${PN}
|
|
einstalldocs
|
|
}
|