20 lines
755 B
Bash
20 lines
755 B
Bash
# Template file for 'docker-buildx'
|
|
pkgname=docker-buildx
|
|
version=0.10.3
|
|
revision=2
|
|
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=e21ce4b222cfcc5fe981a1ee51fca1f7c7d59de0f1911ae3f64f6d9a969695a3
|
|
|
|
post_install() {
|
|
vmkdir usr/libexec/docker/cli-plugins
|
|
mv "${DESTDIR}/usr/bin/buildx" "${DESTDIR}/usr/libexec/docker/cli-plugins/docker-buildx"
|
|
}
|