Commit b60a1bf6 authored by Jake Buchholz Göktürk's avatar Jake Buchholz Göktürk Committed by Andy Postnikov
Browse files

community/docker-cli-buildx: upgrade to 0.6.0

Patch no longer needed for riscv64.
Add options=net for abuild rootbld to work right.
Remove redundant _buildx_builddir.
Update maintainer/contributor name.

For more details about buildx 0.6.0, see https://github.com/docker/buildx/releases/tag/v0.6.0
parent 83ac359b
# Contributor: Jake Buchholz <tomalok@gmail.com>
# Maintainer: Jake Buchholz <tomalok@gmail.com>
# Contributor: Jake Buchholz Göktürk <tomalok@gmail.com>
# Maintainer: Jake Buchholz Göktürk <tomalok@gmail.com>
pkgname=docker-cli-buildx
_commit=11057da37336192bfc57d81e02359ba7ba848e4a
pkgver=0.5.1
pkgrel=1
_commit=d9ee3b134cbc2d09513fa7fee4176a3919e05887
pkgver=0.6.0
pkgrel=0
pkgdesc="A Docker CLI plugin for extended build capabilities"
url="https://docs.docker.com/engine/reference/commandline/buildx_build"
arch="all"
license="Apache-2.0"
depends="docker-cli"
makedepends="go"
source="buildx-$pkgver.tar.gz::https://github.com/docker/buildx/archive/v$pkgver.tar.gz
fix-build-riscv64.patch
"
options="net"
source="buildx-$pkgver.tar.gz::https://github.com/docker/buildx/archive/v$pkgver.tar.gz"
_buildx_builddir="$srcdir"/buildx-"$pkgver"
_buildx_installdir="/usr/libexec/docker/cli-plugins"
builddir="$srcdir"/buildx-"$pkgver"
......@@ -24,7 +22,6 @@ export GOCACHE=$srcdir/go-build
export GOTMPDIR=$srcdir
build() {
cd "$_buildx_builddir"
PKG=github.com/docker/buildx
local ldflags="-X $PKG/version.Version=v$pkgver -X $PKG/version.Revision=$_commit -X $PKG/version.Package=$PKG"
go build -modcacherw -ldflags "$ldflags" -o docker-buildx ./cmd/buildx
......@@ -39,10 +36,9 @@ check() {
}
package() {
install -Dm755 "$_buildx_builddir"/docker-buildx "$pkgdir$_buildx_installdir"/docker-buildx
install -Dm755 docker-buildx "$pkgdir$_buildx_installdir"/docker-buildx
}
sha512sums="
e3b046a3f3e8cf2ec7eba00b48154bcbc6aac015dd1b3e965144d54c3a6cd70575e2ac690bf1a477766e77d9fcab8361fd5eaf2a512c3f21247dcf67cd0217bb buildx-0.5.1.tar.gz
3c292461b2005b3518e7b1a19160a592fbc45ac0c2ebf9d5f7bd3a5f58626495e755b2d5a9d1baef7a528ea30b89a80a5f11c72a001c0e818c84f90b2deb495a fix-build-riscv64.patch
8e0c1501985f09dbb8d7ad366aea7a779eb29378f26ff53ba39d75a6a8dbb2f901b1d50ba63627ccdc35db94b5968999c889646839f3604d67e95867c6cd38ea buildx-0.6.0.tar.gz
"
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment