[arch-commits] Commit in docker-compose/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Fri Jan 7 16:21:24 UTC 2022


    Date: Friday, January 7, 2022 @ 16:21:24
  Author: foxboron
Revision: 1095922

archrelease: copy trunk to community-x86_64

Added:
  docker-compose/repos/community-x86_64/PKGBUILD
    (from rev 1095921, 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-01-07 16:21:18 UTC (rev 1095921)
+++ PKGBUILD	2022-01-07 16:21:24 UTC (rev 1095922)
@@ -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.2.2
-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=('3ffe0d6af693ab5360defa5718fd901ce0f9c3d8ad53dcfb99d7bb7fba5dac8eb259b6017e6decefba6fa07e2a568754cbf1c96427687bfd2c7ec63c4a6a4fb6')
-
-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"
-  go build -trimpath -tags "e2e,kube" -o compose ./cmd
-}
-
-check(){
-  cd "compose-$pkgver"
-  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 1095921, docker-compose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-07 16:21:24 UTC (rev 1095922)
@@ -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.2.3
+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=('7ef35247655276ec40b061d92df5dc90eb3ff40aefee09b087f01bc2d3311a36ed0bc91db00607f5b9dcb4883999f2041901d16b87a913e4b6aab081d2d73007')
+
+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