[arch-commits] Commit in kubeone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Wed Jul 22 19:11:03 UTC 2020
Date: Wednesday, July 22, 2020 @ 19:11:03
Author: shibumi
Revision: 664891
archrelease: copy trunk to community-x86_64
Added:
kubeone/repos/community-x86_64/PKGBUILD
(from rev 664890, kubeone/trunk/PKGBUILD)
Deleted:
kubeone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-22 19:10:56 UTC (rev 664890)
+++ PKGBUILD 2020-07-22 19:11:03 UTC (rev 664891)
@@ -1,60 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Loodse <aur at loodse.com>
-
-pkgname=kubeone
-_pkgver=1.0.0-beta.2
-pkgver="${_pkgver/-/}"
-# We check out the repo via git for retrieving necessary information
-# for `kubeone version`.
-_kubeone_commit="27cf22265dc097a12ccbbcce3e32d822935f39f2"
-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')
-
-build() {
- cd "${pkgname}-${_pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- make build
-}
-
-check() {
- cd "${pkgname}-${_pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- 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 664890, kubeone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-22 19:11:03 UTC (rev 664891)
@@ -0,0 +1,60 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Loodse <aur at loodse.com>
+
+pkgname=kubeone
+_pkgver=1.0.0-beta.3
+pkgver="${_pkgver/-/}"
+# We check out the repo via git for retrieving necessary information
+# for `kubeone version`.
+_kubeone_commit="80c4f98c4a1f6341e3e4a707c63cfd6348bf2982"
+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')
+
+build() {
+ cd "${pkgname}-${_pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ make build
+}
+
+check() {
+ cd "${pkgname}-${_pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ 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