[arch-commits] Commit in hcloud/repos/community-x86_64 (4 files)
Christian Rebischke
shibumi at archlinux.org
Fri Aug 17 16:05:10 UTC 2018
Date: Friday, August 17, 2018 @ 16:05:09
Author: shibumi
Revision: 372500
archrelease: copy trunk to community-x86_64
Added:
hcloud/repos/community-x86_64/PKGBUILD
(from rev 372499, hcloud/trunk/PKGBUILD)
hcloud/repos/community-x86_64/_hcloud.zsh
(from rev 372499, hcloud/trunk/_hcloud.zsh)
Deleted:
hcloud/repos/community-x86_64/PKGBUILD
hcloud/repos/community-x86_64/_hcloud.zsh
-------------+
PKGBUILD | 100 +++++++++++++++++++++++++++++-----------------------------
_hcloud.zsh | 4 +-
2 files changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-17 16:05:04 UTC (rev 372499)
+++ PKGBUILD 2018-08-17 16:05:09 UTC (rev 372500)
@@ -1,50 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
-
-pkgname=hcloud
-pkgver=1.5.0
-pkgrel=2
-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' 'git')
-depends=('glibc')
-provides=('hcloud')
-_hcloud_commit='4d565ac75dd7cd9063add48e0de0b907619594af'
-source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}"
- _hcloud.zsh)
-sha512sums=('SKIP'
- '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897')
-
-prepare(){
- export GOPATH="${srcdir}"
- export PATH="$PATH:$GOPATH/bin"
- mkdir -p src/github.com/hetznercloud
- mv cli src/github.com/hetznercloud
-}
-
-build(){
- cd src/github.com/hetznercloud/cli/cli/
- go build \
- -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver}" \
- github.com/hetznercloud/cli/cmd/hcloud
- chmod +x ./hcloud
- ./hcloud completion bash > "$pkgname-completion.bash"
-}
-
-check(){
- cd src/github.com/hetznercloud/cli/cli
- go test -v -x
-}
-
-package(){
- cd src/github.com/hetznercloud/cli
- install -Dsm755 cli/hcloud "${pkgdir}/usr/bin/hcloud"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 "cli/${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
- install -Dm644 "${srcdir}"/_hcloud.zsh "${pkgdir}/usr/share/zsh/site-functions/_hcloud"
-}
Copied: hcloud/repos/community-x86_64/PKGBUILD (from rev 372499, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-17 16:05:09 UTC (rev 372500)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
+
+pkgname=hcloud
+pkgver=1.6.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' 'git')
+depends=('glibc')
+provides=('hcloud')
+_hcloud_commit='aade4c065583613bac773c1f61133a1d2ecee319'
+source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}"
+ _hcloud.zsh)
+sha512sums=('SKIP'
+ '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897')
+
+prepare(){
+ export GOPATH="${srcdir}"
+ export PATH="$PATH:$GOPATH/bin"
+ mkdir -p src/github.com/hetznercloud
+ mv cli src/github.com/hetznercloud
+}
+
+build(){
+ cd src/github.com/hetznercloud/cli/cli/
+ go build \
+ -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver}" \
+ github.com/hetznercloud/cli/cmd/hcloud
+ chmod +x ./hcloud
+ ./hcloud completion bash > "$pkgname-completion.bash"
+}
+
+check(){
+ cd src/github.com/hetznercloud/cli/cli
+ go test -v -x
+}
+
+package(){
+ cd src/github.com/hetznercloud/cli
+ install -Dsm755 cli/hcloud "${pkgdir}/usr/bin/hcloud"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "cli/${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
+ install -Dm644 "${srcdir}"/_hcloud.zsh "${pkgdir}/usr/share/zsh/site-functions/_hcloud"
+}
Deleted: _hcloud.zsh
===================================================================
--- _hcloud.zsh 2018-08-17 16:05:04 UTC (rev 372499)
+++ _hcloud.zsh 2018-08-17 16:05:09 UTC (rev 372500)
@@ -1,2 +0,0 @@
-#compdef hcloud
-source <(hcloud completion zsh)
Copied: hcloud/repos/community-x86_64/_hcloud.zsh (from rev 372499, hcloud/trunk/_hcloud.zsh)
===================================================================
--- _hcloud.zsh (rev 0)
+++ _hcloud.zsh 2018-08-17 16:05:09 UTC (rev 372500)
@@ -0,0 +1,2 @@
+#compdef hcloud
+source <(hcloud completion zsh)
More information about the arch-commits
mailing list