[arch-commits] Commit in docker-compose/repos/community-x86_64 (PKGBUILD PKGBUILD)
Andrew Crerar
andrewsc at gemini.archlinux.org
Wed Nov 3 14:22:50 UTC 2021
Date: Wednesday, November 3, 2021 @ 14:22:50
Author: andrewsc
Revision: 1035625
archrelease: copy trunk to community-x86_64
Added:
docker-compose/repos/community-x86_64/PKGBUILD
(from rev 1035624, docker-compose/trunk/PKGBUILD)
Deleted:
docker-compose/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 14:22:30 UTC (rev 1035624)
+++ PKGBUILD 2021-11-03 14:22:50 UTC (rev 1035625)
@@ -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.0.1
-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=('077061ab343668d874d792a90b0b8ecda654a9ade5cf6aac6eb37f22a49f00a64c50fd1f0161a2013df4f1e47c612ca135338428553bbce0d173541c7c147ce0')
-
-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 1035624, docker-compose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 14:22:50 UTC (rev 1035625)
@@ -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.1.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=('e02c56c7aee4380caf3e61611f697dac0d01f71bb347933e1a9489ebacba592cbd14d90a452bf347ea772b009a5b2fcb267d534540b5a416f02161568af6a1f8')
+
+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"
+}
More information about the arch-commits
mailing list