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

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Sun Sep 12 12:28:36 UTC 2021


    Date: Sunday, September 12, 2021 @ 12:28:35
  Author: svenstaro
Revision: 1014555

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-12 12:28:25 UTC (rev 1014554)
+++ PKGBUILD	2021-09-12 12:28:35 UTC (rev 1014555)
@@ -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.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=('97d536e9bed893032cc48e00f2a05b6c7ce07a7d45794a32ebc6cee736951f5d11eb87580e79e5c5d1316bd430763b8cf716099400414a8cf82d1ba627ed8309')
-
-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 1014554, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-12 12:28:35 UTC (rev 1014555)
@@ -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.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"
+}



More information about the arch-commits mailing list