[arch-commits] Commit in hcloud/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Wed May 30 19:30:13 UTC 2018
Date: Wednesday, May 30, 2018 @ 19:30:13
Author: shibumi
Revision: 333484
upgpkg: hcloud 1.5.0-1
Modified:
hcloud/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-30 19:23:50 UTC (rev 333483)
+++ PKGBUILD 2018-05-30 19:30:13 UTC (rev 333484)
@@ -2,7 +2,7 @@
# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
pkgname='hcloud'
-pkgver='1.4.0'
+pkgver='1.5.0'
pkgrel='1'
pkgdesc="CLI for Hetzner Cloud"
arch=('x86_64')
@@ -14,7 +14,7 @@
makedepends=('go-pie' 'git')
depends=('glibc')
provides=('hcloud')
-_hcloud_commit='5593832387be9273df1bec9060b1cb646f65e80c'
+_hcloud_commit='4d565ac75dd7cd9063add48e0de0b907619594af'
source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}")
sha512sums=('SKIP')
@@ -26,9 +26,9 @@
}
build(){
- cd src/github.com/hetznercloud/cli
- go build \
- -ldflags "-w -X github.com/hetznercloud/cli.Version=${pkgver}" \
+ 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"
@@ -35,13 +35,13 @@
}
check(){
- cd src/github.com/hetznercloud/cli
+ cd src/github.com/hetznercloud/cli/cli
go test -v -x
}
package(){
cd src/github.com/hetznercloud/cli
- install -Dsm755 hcloud "${pkgdir}/usr/bin/hcloud"
+ install -Dsm755 cli/hcloud "${pkgdir}/usr/bin/hcloud"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 "${pkgname}-completion.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+ install -Dm644 "cli/${pkgname}-completion.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
}
More information about the arch-commits
mailing list