diff options
author | Henning Surmeier | 2018-08-28 09:33:33 +0200 |
---|---|---|
committer | Henning Surmeier | 2018-08-28 09:33:33 +0200 |
commit | 2293263c5878907575ec211bc531f82d20bde02e (patch) | |
tree | 3c70cde640b8d273f7c724ac9c7ea46afdfda9ae | |
download | aur-rancher16-cli-bin.tar.gz |
Backport rancher2 to rancher16 package
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..caaae3e1eb3f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = rancher16-cli-bin + pkgdesc = The Rancher Command Line Interface (CLI) is a unified tool to manage your Rancher server. This version is for older rancher 1.6 servers. + pkgver = 0.6.11 + pkgrel = 1 + url = https://github.com/rancher/cli + arch = x86_64 + license = APACHE + source = https://github.com/rancher/cli/releases/download/v0.6.11/rancher-linux-amd64-v0.6.11.tar.xz + sha256sums = 34a4e2bf3408551a2197bc126c1796a94afa60548cb3e829176b39a60eb51824 + +pkgname = rancher16-cli-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..45f10e575881 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer of rancher2: Daniel Haß <aur@hass.onl> +# Maintainer: Henning Surmeier <me@hensur.de> +pkgname=rancher16-cli-bin +pkgver=0.6.11 +pkgrel=1 +pkgdesc="The Rancher Command Line Interface (CLI) is a unified tool to manage your Rancher server. This version is for older rancher 1.6 servers." +arch=('x86_64') +url="https://github.com/rancher/cli" +license=('APACHE') +source=("https://github.com/rancher/cli/releases/download/v${pkgver}/rancher-linux-amd64-v${pkgver}.tar.xz") +sha256sums=("34a4e2bf3408551a2197bc126c1796a94afa60548cb3e829176b39a60eb51824") + + +package() { + mkdir -p "$pkgdir/usr/bin" + install -Dm755 $srcdir/rancher-v${pkgver}/rancher $pkgdir/usr/bin/rancher16 +} |