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

Christian Rebischke shibumi at archlinux.org
Sun Nov 15 16:54:32 UTC 2020


    Date: Sunday, November 15, 2020 @ 16:54:31
  Author: shibumi
Revision: 754601

archrelease: copy trunk to community-x86_64

Added:
  kompose/repos/community-x86_64/PKGBUILD
    (from rev 754600, kompose/trunk/PKGBUILD)
Deleted:
  kompose/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 16:54:21 UTC (rev 754600)
+++ PKGBUILD	2020-11-15 16:54:31 UTC (rev 754601)
@@ -1,44 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=kompose
-pkgver=1.22.0
-pkgrel=1
-pkgdesc="Docker compose to Kubernetes transformation tool"
-arch=('x86_64')
-url="https://github.com/kubernetes/kompose"
-license=('Apache')
-makedepends=('go' 'git' 'jq') # git binary is needed for test scripts
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kubernetes/kompose/archive/v${pkgver}.tar.gz")
-sha512sums=('09c2520b759dcc452f6d55b171d9c002ccdab96cf01cd9b67be33070c8b3faff0a189ca30731376386d214002e2c44ffe27715aa74039a8adbae946d2b03d1d0')
-
-prepare() {
-  export GOPATH="${srcdir}"
-  mkdir -p src/github.com/kubernetes "${GOPATH}/bin"
-  mv "${pkgname}-${pkgver}" "src/github.com/kubernetes/${pkgname}"
-  export PACKAGE_ROOT="${GOPATH}/src/github.com/kubernetes/${pkgname}"
-}
-
-build() {
-  cd "${PACKAGE_ROOT}"
-  export CGO_ENABLED=1
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  export GOLDFLAGS="-linkmode=external"
-  go build -v .
-  chmod +x ./kompose
-}
-
-# tests are failing right now due to a bug in script/cmd/cmd_test.go:28
-#check() {
-#  cd "${PACKAGE_ROOT}"
-#  go test -v ./...
-#}
-
-package() {
-  cd "${PACKAGE_ROOT}"
-  install -Dsm755 ./kompose "${pkgdir}/usr/bin/kompose"
-}

Copied: kompose/repos/community-x86_64/PKGBUILD (from rev 754600, kompose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-15 16:54:31 UTC (rev 754601)
@@ -0,0 +1,43 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=kompose
+pkgver=1.22.0
+pkgrel=2
+pkgdesc="Docker compose to Kubernetes transformation tool"
+arch=('x86_64')
+url="https://github.com/kubernetes/kompose"
+license=('Apache')
+makedepends=('go' 'git' 'jq') # git binary is needed for test scripts
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kubernetes/kompose/archive/v${pkgver}.tar.gz")
+sha512sums=('09c2520b759dcc452f6d55b171d9c002ccdab96cf01cd9b67be33070c8b3faff0a189ca30731376386d214002e2c44ffe27715aa74039a8adbae946d2b03d1d0')
+
+prepare() {
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/kubernetes "${GOPATH}/bin"
+  mv "${pkgname}-${pkgver}" "src/github.com/kubernetes/${pkgname}"
+  export PACKAGE_ROOT="${GOPATH}/src/github.com/kubernetes/${pkgname}"
+}
+
+build() {
+  cd "${PACKAGE_ROOT}"
+  export CGO_ENABLED=1
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build -v .
+  chmod +x ./kompose
+}
+
+# tests are failing right now due to a bug in script/cmd/cmd_test.go:28
+#check() {
+#  cd "${PACKAGE_ROOT}"
+#  go test -v ./...
+#}
+
+package() {
+  cd "${PACKAGE_ROOT}"
+  install -Dsm755 ./kompose "${pkgdir}/usr/bin/kompose"
+}



More information about the arch-commits mailing list