net-dns/dnslookup - 1.11.2 (gentoo-zh)

Search

Package Information

Description:
Simple command line utility to make DNS lookups to the specified server
Homepage:
https://github.com/ameshkov/dnslookup
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.11.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module

DESCRIPTION="Simple command line utility to make DNS lookups to the specified server "
HOMEPAGE="https://github.com/ameshkov/dnslookup"

SRC_URI="
	https://github.com/ameshkov/dnslookup/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/dnslookup/releases/download/v${PV}/${P}-vendor.tar.xz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

src_compile() {
	ego build -o ${P} -ldflags "-X main.VersionString=${PV}"
}

src_install() {
	newbin ${P} dnslookup
}

Manifest for 1.11.2

Type File Size Source URLs
DIST dnslookup-1.11.2-vendor.tar.xz 1479436 bytes https://github.com/gentoo-zh-drafts/dnslookup/releases/download/v1.11.2/dnslookup-1.11.2-vendor.tar.xz
DIST dnslookup-1.11.2.tar.gz 9749 bytes https://github.com/ameshkov/dnslookup/archive/refs/tags/v1.11.2.tar.gz