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

Christian Rebischke shibumi at gemini.archlinux.org
Thu Mar 3 21:53:50 UTC 2022


    Date: Thursday, March 3, 2022 @ 21:53:49
  Author: shibumi
Revision: 1141264

archrelease: copy trunk to community-x86_64

Added:
  kubeone/repos/community-x86_64/PKGBUILD
    (from rev 1141263, kubeone/trunk/PKGBUILD)
Deleted:
  kubeone/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-03 21:52:56 UTC (rev 1141263)
+++ PKGBUILD	2022-03-03 21:53:49 UTC (rev 1141264)
@@ -1,67 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Loodse <aur at loodse.com>
-
-pkgname=kubeone
-_pkgver=1.3.3
-pkgver="${_pkgver/-/}"
-# We check out the repo via git for retrieving necessary information
-# for `kubeone version`.
-_kubeone_commit="6ef9df813469582343b1feef66849c3bf81aa956"
-pkgrel=1
-pkgdesc="A lifecycle management tool for Highly-Available Kubernetes clusters"
-url="https://www.kubeone.io"
-arch=("x86_64")
-license=("Apache")
-makedepends=("go" "git")
-optdepends=("terraform: sourcing data about infrastructure and control plane nodes")
-source=("${pkgname}-${_pkgver}::git+https://github.com/kubermatic/kubeone#commit=${_kubeone_commit}")
-sha512sums=('SKIP')
-options=('!lto')
-
-prepare() {
-  cd "${pkgname}-${_pkgver}"
-  sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i Makefile
-  sed '/^export GOFLAGS/ s/$/ -modcacherw -buildmode=pie/' -i Makefile
-  sed '/^GOLDFLAGS?=/ s/=/= -linkmode=external /' -i Makefile
-
-}
-
-build() {
-  cd "${pkgname}-${_pkgver}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  make build
-}
-
-check() {
-  cd "${pkgname}-${_pkgver}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  make test
-}
-
-package() {
-  cd "${pkgname}-${_pkgver}"
-  install -Dm755 "dist/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-
-  # move documentation
-  mkdir -p "${pkgdir}/usr/share/doc"
-  cp -avr docs "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -avr examples "${pkgdir}/usr/share/doc/${pkgname}/examples"
-
-  # build man page
-  mkdir -p "${pkgdir}/usr/share/man/man1"
-  ./dist/"${pkgname}" document man -o "${pkgdir}/usr/share/man/man1"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  ./dist/"${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  ./dist/"${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}

Copied: kubeone/repos/community-x86_64/PKGBUILD (from rev 1141263, kubeone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-03 21:53:49 UTC (rev 1141264)
@@ -0,0 +1,67 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Loodse <aur at loodse.com>
+
+pkgname=kubeone
+_pkgver=1.4.0
+pkgver="${_pkgver/-/}"
+# We check out the repo via git for retrieving necessary information
+# for `kubeone version`.
+_kubeone_commit="24a432834629b860257e4f3975ec223bc85a0c2f"
+pkgrel=1
+pkgdesc="A lifecycle management tool for Highly-Available Kubernetes clusters"
+url="https://www.kubeone.io"
+arch=("x86_64")
+license=("Apache")
+makedepends=("go" "git")
+optdepends=("terraform: sourcing data about infrastructure and control plane nodes")
+source=("${pkgname}-${_pkgver}::git+https://github.com/kubermatic/kubeone#commit=${_kubeone_commit}")
+sha512sums=('SKIP')
+options=('!lto')
+
+prepare() {
+  cd "${pkgname}-${_pkgver}"
+  sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i Makefile
+  sed '/^export GOFLAGS/ s/$/ -modcacherw -buildmode=pie/' -i Makefile
+  sed '/^GOLDFLAGS?=/ s/=/= -linkmode=external /' -i Makefile
+
+}
+
+build() {
+  cd "${pkgname}-${_pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  make build
+}
+
+check() {
+  cd "${pkgname}-${_pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  make test
+}
+
+package() {
+  cd "${pkgname}-${_pkgver}"
+  install -Dm755 "dist/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
+  # move documentation
+  mkdir -p "${pkgdir}/usr/share/doc"
+  cp -avr docs "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -avr examples "${pkgdir}/usr/share/doc/${pkgname}/examples"
+
+  # build man page
+  mkdir -p "${pkgdir}/usr/share/man/man1"
+  ./dist/"${pkgname}" document man -o "${pkgdir}/usr/share/man/man1"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  ./dist/"${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  ./dist/"${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+}



More information about the arch-commits mailing list