[arch-commits] Commit in hcloud/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu Jun 30 01:55:26 UTC 2022
Date: Thursday, June 30, 2022 @ 01:55:25
Author: svenstaro
Revision: 1242130
archrelease: copy trunk to community-x86_64
Added:
hcloud/repos/community-x86_64/PKGBUILD
(from rev 1242129, hcloud/trunk/PKGBUILD)
Deleted:
hcloud/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-30 01:55:20 UTC (rev 1242129)
+++ PKGBUILD 2022-06-30 01:55:25 UTC (rev 1242130)
@@ -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.29.5
-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=('85371934e526bbc7bb085dc892d53f9ca2a9d96c19d6918dcc4d75dc451b6cd592975659d727a15e7aacfa91c112dc4d4c21be7a538570509171574e1bdb3a7d')
-
-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 1242129, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-30 01:55:25 UTC (rev 1242130)
@@ -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.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=('97a5a560c15cbb5f7db50f87fc387d2c35912909f6fcdf8004a3826b418c37d255b1ddcdc4d1829f2e00166e4f22a525915d70f8d927cd7d35386d8303fff4e2')
+
+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