20 lines
754 B
Bash
20 lines
754 B
Bash
# Template file for 'docker-buildx'
|
|
pkgname=docker-buildx
|
|
version=0.9.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/docker/buildx/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="Gabriel Sanches <gabriel@gsr.dev>"
|
|
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=22b0d2acfffaaa4a52d13cd6fa78608e9c817c3d1bdfbaf2e274242325bb293d
|
|
|
|
post_install() {
|
|
vmkdir usr/libexec/docker/cli-plugins
|
|
mv "${DESTDIR}/usr/bin/buildx" "${DESTDIR}/usr/libexec/docker/cli-plugins/docker-buildx"
|
|
}
|