void-packages/srcpkgs/docker-buildx/template

21 lines
781 B
Bash
Raw Normal View History

2022-02-18 14:46:33 +00:00
# Template file for 'docker-buildx'
pkgname=docker-buildx
version=0.7.1
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=5df4224eeac5a00d1bef2344660e93415264a64ea4742133f2c2a794c563ef50
post_install() {
vmkdir usr/libexec/docker/cli-plugins
mv "${DESTDIR}/usr/bin/buildx" "${DESTDIR}/usr/libexec/docker/cli-plugins/docker-buildx"
}