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

Christian Rebischke shibumi at gemini.archlinux.org
Sat Aug 7 14:35:45 UTC 2021


    Date: Saturday, August 7, 2021 @ 14:35:45
  Author: shibumi
Revision: 994666

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-07 14:35:38 UTC (rev 994665)
+++ PKGBUILD	2021-08-07 14:35:45 UTC (rev 994666)
@@ -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.25.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=('85fdcffd1b5a462fff335086155c2a848f88c569526a6dc1ecc8c2455cb60cf3e2b2410f653c4c86ae8c4fb1caea910066bb1cd55cf9e5baa0c9c40e696392cb')
-
-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 994665, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-07 14:35:45 UTC (rev 994666)
@@ -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.26.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=('1450db0b6b90e3539018dcb4dc867af4dfe9eadb557b2e5a1fce8ba7f84ffba356ff771f9c49876a8f192c0b5f554dcec27d53b24be5772876dc0384ca4000b8')
+
+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