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

Christian Rebischke shibumi at gemini.archlinux.org
Wed Nov 3 14:01:27 UTC 2021


    Date: Wednesday, November 3, 2021 @ 14:01:27
  Author: shibumi
Revision: 1035623

archrelease: copy trunk to community-x86_64

Added:
  hcloud/repos/community-x86_64/PKGBUILD
    (from rev 1035622, hcloud/trunk/PKGBUILD)
Deleted:
  hcloud/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 14:01:21 UTC (rev 1035622)
+++ PKGBUILD	2021-11-03 14:01:27 UTC (rev 1035623)
@@ -1,49 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
-
-_pkgname=cli
-pkgname=hcloud
-pkgver=1.28.1
-pkgrel=1
-pkgdesc="CLI for Hetzner Cloud"
-arch=('x86_64')
-url="https://github.com/hetznercloud/cli"
-license=('MIT')
-optdepends=('bash-completion: tab auto-completion'
-            'zsh: tab auto-completion')
-makedepends=('go-pie')
-depends=('glibc')
-provides=('hcloud')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/hetznercloud/cli/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('426e0e6e8d2df6e4f627a5681e72b0a2dffc194d5b9a721c6d92353fbe4bcdd578ce6f31f0191ed2d99ed2c0d7af44c86f298cb5a0d76c1f66e836f316552374')
-
-build() {
-  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"
-  cd "cli-${pkgver}"
-  go build \
-    -ldflags "-linkmode=external -w -X github.com/hetznercloud/cli/internal/version.Version=${pkgver}" \
-    github.com/hetznercloud/cli/cmd/hcloud
-  chmod +x ./hcloud
-}
-
-check() {
-  cd "cli-${pkgver}"
-  go test -v -x ./...
-}
-
-package() {
-  cd "cli-${pkgver}"
-  install -Dsm755 ./hcloud "${pkgdir}/usr/bin/hcloud"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  mkdir -p "$pkgdir"/usr/share/{bash-completion/completions,zsh/site-functions,fish/vendor_completions.d}
-  ./hcloud completion bash > "${pkgdir}/usr/share/bash-completion/completions/hcloud"
-  ./hcloud completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_hcloud"
-  ./hcloud completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/hcloud.fish"
-}

Copied: hcloud/repos/community-x86_64/PKGBUILD (from rev 1035622, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-03 14:01:27 UTC (rev 1035623)
@@ -0,0 +1,49 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
+
+_pkgname=cli
+pkgname=hcloud
+pkgver=1.29.0
+pkgrel=1
+pkgdesc="CLI for Hetzner Cloud"
+arch=('x86_64')
+url="https://github.com/hetznercloud/cli"
+license=('MIT')
+optdepends=('bash-completion: tab auto-completion'
+            'zsh: tab auto-completion')
+makedepends=('go-pie')
+depends=('glibc')
+provides=('hcloud')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hetznercloud/cli/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('2bf7a0961e1d35c06c6e4566459958875c49fed028b14888d80716d1ac03b43ccdfa29b977a7af898f84d861aebc94ab967efa9044e813630d6ff43df2963768')
+
+build() {
+  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"
+  cd "cli-${pkgver}"
+  go build \
+    -ldflags "-linkmode=external -w -X github.com/hetznercloud/cli/internal/version.Version=${pkgver}" \
+    github.com/hetznercloud/cli/cmd/hcloud
+  chmod +x ./hcloud
+}
+
+check() {
+  cd "cli-${pkgver}"
+  go test -v -x ./...
+}
+
+package() {
+  cd "cli-${pkgver}"
+  install -Dsm755 ./hcloud "${pkgdir}/usr/bin/hcloud"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  mkdir -p "$pkgdir"/usr/share/{bash-completion/completions,zsh/site-functions,fish/vendor_completions.d}
+  ./hcloud completion bash > "${pkgdir}/usr/share/bash-completion/completions/hcloud"
+  ./hcloud completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_hcloud"
+  ./hcloud completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/hcloud.fish"
+}



More information about the arch-commits mailing list