21 lines
769 B
Bash
21 lines
769 B
Bash
# Template file for 'docker-buildx'
|
|
pkgname=docker-buildx
|
|
version=0.11.2
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/docker/buildx"
|
|
go_package="./cmd/buildx"
|
|
go_ldflags="-X github.com/docker/buildx/version.Version=v${version}"
|
|
depends="docker-cli"
|
|
short_desc="Docker CLI plugin for extended build capabilities with BuildKit"
|
|
maintainer="Daniel Lewan <daniel@teddydd.me>"
|
|
license="Apache-2.0"
|
|
homepage="https://docs.docker.com/buildx/working-with-buildx/"
|
|
distfiles="https://github.com/docker/buildx/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=371eb742213ed580179fc4fdfd9a197f0e3115e91979b7907828427d578d49e5
|
|
|
|
post_install() {
|
|
vmkdir usr/libexec/docker/cli-plugins
|
|
mv "${DESTDIR}/usr/bin/buildx" "${DESTDIR}/usr/libexec/docker/cli-plugins/docker-buildx"
|
|
}
|