21 lines
781 B
Bash
21 lines
781 B
Bash
# Template file for 'docker-buildx'
|
|
pkgname=docker-buildx
|
|
version=0.8.2
|
|
revision=1
|
|
wrksrc="buildx-${version}"
|
|
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=5a368ffa7c0fd3df510bbb89f345bea9be490a3783de350d2b79b3ed69c237fe
|
|
|
|
post_install() {
|
|
vmkdir usr/libexec/docker/cli-plugins
|
|
mv "${DESTDIR}/usr/bin/buildx" "${DESTDIR}/usr/libexec/docker/cli-plugins/docker-buildx"
|
|
}
|