0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
Termux Github Actions a844b903bb bump(main/dnslookup): 1.11.1
This commit has been automatically submitted by Github Actions.
2024-06-24 01:41:19 +00:00

23 lines
822 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/ameshkov/dnslookup
TERMUX_PKG_DESCRIPTION="Simple command line utility to make DNS lookups. Supports all known DNS protocols: plain DNS, DoH, DoT, DoQ, DNSCrypt."
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="kay9925@outlook.com"
TERMUX_PKG_VERSION="1.11.1"
TERMUX_PKG_SRCURL="https://github.com/ameshkov/dnslookup/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=31967c89406aa6da5f69c563815e58478b530c8e55f0d995065a363f68d5e535
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_GO_USE_OLDER=false
termux_step_make() {
termux_setup_golang
export CGO_ENABLED=1
go build -ldflags "-X main.VersionString=v${TERMUX_PKG_VERSION}" -o "${TERMUX_PKG_NAME}"
}
termux_step_make_install() {
install -Dm700 ${TERMUX_PKG_NAME} ${TERMUX_PREFIX}/bin
}