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

Christian Rebischke shibumi at gemini.archlinux.org
Wed Aug 24 15:09:16 UTC 2022


    Date: Wednesday, August 24, 2022 @ 15:09:16
  Author: shibumi
Revision: 1276442

archrelease: copy trunk to community-x86_64

Added:
  operator-sdk/repos/community-x86_64/PKGBUILD
    (from rev 1276441, operator-sdk/trunk/PKGBUILD)
Deleted:
  operator-sdk/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-24 15:09:07 UTC (rev 1276441)
+++ PKGBUILD	2022-08-24 15:09:16 UTC (rev 1276442)
@@ -1,50 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=operator-sdk
-pkgver=1.22.2
-pkgrel=1
-pkgdesc="SDK for building Kubernetes applications"
-arch=('x86_64')
-url="https://github.com/operator-framework/operator-sdk"
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz")
-sha512sums=('6606ad5d94e6d39106aff6df68d9fe65d3545aead8640f484ca83ed54021387dd3c341cbbe9413f0439239efc7aed8617c8f16731c6a8ff774efee0bba003600')
-b2sums=('49484de895c87d7230ce9fa707675e884c7cb8ea2981da48d62785ebacc5cd703927c2d53baddf0316ea48cf5fcde2d47555c834c1901b23cf28ede028bb12d3')
-
-prepare() {
-  export GOPATH="${srcdir}"
-  mkdir -p src/github.com/operator-framework "${GOPATH}/bin"
-  mv "${pkgname}-${pkgver}" "src/github.com/operator-framework/${pkgname}"
-  export PACKAGE_ROOT="${GOPATH}/src/github.com/operator-framework/${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 -ldflags "-linkmode=external" -v -o . ./cmd/{operator-sdk,ansible-operator,helm-operator}
-}
-
-#check() {
-#  cd "${PACKAGE_ROOT}"
-#  go test -v ./...
-#}
-
-package() {
-  cd "${PACKAGE_ROOT}"
-  install -Dsm755 ./operator-sdk "${pkgdir}/usr/bin/operator-sdk"
-  ./operator-sdk completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/operator-sdk"
-  ./operator-sdk completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_operator-sdk"
-  install -Dsm755 ./ansible-operator "${pkgdir}/usr/bin/ansible-operator"
-  ./ansible-operator completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/ansible-operator"
-  ./ansible-operator completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ansible-operator"
-  install -Dsm755 ./helm-operator "${pkgdir}/usr/bin/helm-operator"
-  ./helm-operator completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/helm-operator"
-  ./helm-operator completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_helm-operator"
-}

Copied: operator-sdk/repos/community-x86_64/PKGBUILD (from rev 1276441, operator-sdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-24 15:09:16 UTC (rev 1276442)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=operator-sdk
+pkgver=1.23.0
+pkgrel=1
+pkgdesc="SDK for building Kubernetes applications"
+arch=('x86_64')
+url="https://github.com/operator-framework/operator-sdk"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz")
+sha512sums=('0e542a917aa218eb1ca88f94bccc67030d43c45ff26cdf237630d00085108601360d2d8430eee8fa066ac4a7e8934eceee65a7c920f5f7067d1876bdc2f26971')
+b2sums=('4754f13d663d4b56ef802bda0a45329e5e58121ab1ff1e8c545ad4d130247f1059d8e7aba3f067d253fdb699740a45973fedbe0f22508654479b0c69b98ecc9e')
+
+prepare() {
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/operator-framework "${GOPATH}/bin"
+  mv "${pkgname}-${pkgver}" "src/github.com/operator-framework/${pkgname}"
+  export PACKAGE_ROOT="${GOPATH}/src/github.com/operator-framework/${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 -ldflags "-linkmode=external" -v -o . ./cmd/{operator-sdk,ansible-operator,helm-operator}
+}
+
+#check() {
+#  cd "${PACKAGE_ROOT}"
+#  go test -v ./...
+#}
+
+package() {
+  cd "${PACKAGE_ROOT}"
+  install -Dsm755 ./operator-sdk "${pkgdir}/usr/bin/operator-sdk"
+  ./operator-sdk completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/operator-sdk"
+  ./operator-sdk completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_operator-sdk"
+  install -Dsm755 ./ansible-operator "${pkgdir}/usr/bin/ansible-operator"
+  ./ansible-operator completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/ansible-operator"
+  ./ansible-operator completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ansible-operator"
+  install -Dsm755 ./helm-operator "${pkgdir}/usr/bin/helm-operator"
+  ./helm-operator completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/helm-operator"
+  ./helm-operator completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_helm-operator"
+}



More information about the arch-commits mailing list