[arch-commits] Commit in docker-compose/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Fri Apr 1 15:51:49 UTC 2022
Date: Friday, April 1, 2022 @ 15:51:49
Author: foxboron
Revision: 1180562
archrelease: copy trunk to community-x86_64
Added:
docker-compose/repos/community-x86_64/PKGBUILD
(from rev 1180561, docker-compose/trunk/PKGBUILD)
Deleted:
docker-compose/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-01 15:51:44 UTC (rev 1180561)
+++ PKGBUILD 2022-04-01 15:51:49 UTC (rev 1180562)
@@ -1,41 +0,0 @@
-# Maintainer: Andrew Crerar <crerar at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Iwan Timmer <irtimmer at gmail.com>
-# Contributor: Vincent Demeester <vincent at sbr.io>
-# Contributor: Josh VanderLinden <arch at cloudlery.com>
-
-pkgname=docker-compose
-pkgver=2.3.4
-pkgrel=1
-pkgdesc="Fast, isolated development environments using Docker"
-arch=('x86_64')
-url="https://www.docker.com/"
-license=("Apache")
-makedepends=('go')
-checkdepends=('docker')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/v$pkgver.tar.gz")
-sha512sums=('812c62fd52ea7fd6396af762a01f8e32447e144117a79c763aecc6e90fdf7eca907a7598ec3e53d61194b07473bac67677dabe4cb797ce24b55377b2920eb6c5')
-
-build() {
- cd "compose-$pkgver"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -ldflags=-X=github.com/docker/compose/v2/internal.Version=${pkgver} -mod=readonly -modcacherw"
- CGO_ENABLED=0 go build -trimpath -tags "e2e,kube" -o compose ./cmd
-}
-
-check(){
- cd "compose-$pkgver"
- CGO_ENABLED=0 go test -tags "e2e,kube" -v $(go list -tags "e2e,kube" ./... | grep -vE 'e2e')
-}
-
-package() {
- cd "compose-$pkgver"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm755 compose "$pkgdir"/usr/lib/docker/cli-plugins/docker-compose
- install -d "$pkgdir/usr/bin"
- ln -sf /usr/lib/docker/cli-plugins/docker-compose "$pkgdir/usr/bin/docker-compose"
-}
Copied: docker-compose/repos/community-x86_64/PKGBUILD (from rev 1180561, docker-compose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-01 15:51:49 UTC (rev 1180562)
@@ -0,0 +1,41 @@
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+# Contributor: Vincent Demeester <vincent at sbr.io>
+# Contributor: Josh VanderLinden <arch at cloudlery.com>
+
+pkgname=docker-compose
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="Fast, isolated development environments using Docker"
+arch=('x86_64')
+url="https://www.docker.com/"
+license=("Apache")
+makedepends=('go')
+checkdepends=('docker')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/compose/archive/v$pkgver.tar.gz")
+sha512sums=('d0819eb1383c1f058c7ac02d8da06d62ece8a8149327df381c0a73018f16e4687a568b674ab47504ab75ed7758e792ff91e7249d0b04a129d65e7ebb2de1a40c')
+
+build() {
+ cd "compose-$pkgver"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -ldflags=-X=github.com/docker/compose/v2/internal.Version=${pkgver} -mod=readonly -modcacherw"
+ CGO_ENABLED=0 go build -trimpath -tags "e2e,kube" -o compose ./cmd
+}
+
+check(){
+ cd "compose-$pkgver"
+ CGO_ENABLED=0 go test -tags "e2e,kube" -v $(go list -tags "e2e,kube" ./... | grep -vE 'e2e')
+}
+
+package() {
+ cd "compose-$pkgver"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm755 compose "$pkgdir"/usr/lib/docker/cli-plugins/docker-compose
+ install -d "$pkgdir/usr/bin"
+ ln -sf /usr/lib/docker/cli-plugins/docker-compose "$pkgdir/usr/bin/docker-compose"
+}
More information about the arch-commits
mailing list