[arch-commits] Commit in kompose/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Nov 15 16:44:14 UTC 2020
Date: Sunday, November 15, 2020 @ 16:44:14
Author: shibumi
Revision: 754597
archrelease: copy trunk to community-x86_64
Added:
kompose/repos/community-x86_64/PKGBUILD
(from rev 754596, kompose/trunk/PKGBUILD)
Deleted:
kompose/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 16:43:48 UTC (rev 754596)
+++ PKGBUILD 2020-11-15 16:44:14 UTC (rev 754597)
@@ -1,44 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=kompose
-pkgver=1.21.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=('96a6a6335d1846c945410b9a7c2e580f736ac2f9730a68f59cdce8f699a7e83910ba21116de8a9640d550c03c7156d684457421597d0d9bcd63067e6cbb03e81')
-
-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=0
- 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 754596, kompose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-15 16:44:14 UTC (rev 754597)
@@ -0,0 +1,44 @@
+# 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"
+}
More information about the arch-commits
mailing list