docker-compose: tweaked build command to fix version output

This commit is contained in:
Matt Housh 2023-08-22 13:38:56 -05:00
parent b3251aa951
commit fe0b308d85
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38iI+Ey4OmtYvA1KdoYjQsIl4oscEmRoYNjKiit4hg05YgZ07JrfwCmGMYJ5P6ggT7wOZoVCpiVFsvh4ez3Yxwg=
SHA256 (Pkgfile) = d0ec047c204cea18970b54c7a4412b903257042a02befc5f20cefb31c1a62339
RWSagIOpLGJF3zDGfI0UsCo72JjeL+t5NUNs+BwH4P6rd72Pxr0Rr1nUPVVhBl3SrjKeaKx4UYkqWE3E+GviwFUVH+fQJsbP6As=
SHA256 (Pkgfile) = 2448ea9c55204218d2bad7f44de37de4e8cea3fcf7473388da56d3b24a99089f
SHA256 (.footprint) = ba1446d4c34513c3c11ed15f4ce8e6419704b4d7fac645e9bc0d0421db4e6adf
SHA256 (docker-compose-2.20.3.tar.gz) = af8025623de3991a15a89575ae4fc4f3f38a17311af9641815500c01f0775950

View File

@ -13,8 +13,8 @@ build() {
export CGO_CPPFLAGS="${CXXFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
cd compose-$version
go build -trimpath -o ${name} ./cmd
install -Dm0755 ${name} ${PKG}/usr/bin/${name}
make VERSION=v$version
install -Dm0755 bin/build/${name} ${PKG}/usr/bin/${name}
install -dm0755 ${PKG}/usr/lib/docker/cli-plugins
ln -s /usr/bin/docker-compose ${PKG}/usr/lib/docker/cli-plugins/
}