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

Christian Rebischke shibumi at gemini.archlinux.org
Fri Aug 12 18:15:06 UTC 2022


    Date: Friday, August 12, 2022 @ 18:15:06
  Author: shibumi
Revision: 1265635

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 18:14:59 UTC (rev 1265634)
+++ PKGBUILD	2022-08-12 18:15:06 UTC (rev 1265635)
@@ -1,49 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
-
-_pkgname=cli
-pkgname=hcloud
-pkgver=1.30.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=('82c854a40eec0cc0ecfc1b7b744674d2342b5f603e41903d327ff49e94aedf1c92415b89504be53d10cc1feb0ffe8198f4063924c1ef6ae1c3107a2a44a28c54')
-
-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 1265634, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-12 18:15:06 UTC (rev 1265635)
@@ -0,0 +1,49 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
+
+_pkgname=cli
+pkgname=hcloud
+pkgver=1.30.2
+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=('abebcffd3ca30480600c3a4f98e96a15a0710f9d01df9fcff6ad63d9b1aef507a6d09624d04b2d0c250c57b8f39218cad94c1ce7700820bc916a1e5838f852a1')
+
+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