mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 07:28:57 +00:00
3cce1b33a1
This commit has been automatically submitted by Github Actions.
27 lines
752 B
Bash
27 lines
752 B
Bash
TERMUX_PKG_HOMEPAGE="https://github.com/kubernetes/minikube"
|
|
TERMUX_PKG_DESCRIPTION="minikube implements a local Kubernetes cluster."
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.34.0"
|
|
TERMUX_PKG_SRCURL="https://github.com/kubernetes/minikube/archive/v${TERMUX_PKG_VERSION}.tar.gz"
|
|
TERMUX_PKG_SHA256=d747bdf98a0ef1c1b43c577607b57a31977d92e1fa1406f8c5ecf6ca31cc51d4
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="docker, kubectl"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|
|
|
|
termux_step_make() {
|
|
mkdir -p bin
|
|
go build -o bin/minikube ./cmd/minikube
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm755 -t "${TERMUX_PREFIX}"/bin bin/minikube
|
|
}
|