From 060d63c94fbf5f13811de8417eaa7e507213cf87 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Sun, 15 Sep 2019 01:03:14 +0200 Subject: [PATCH] initial commit --- .SRCINFO | 13 +++++++++++++ .gitignore | 8 ++++++++ PKGBUILD | 15 +++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..156d6fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = rancher-k3d-bin + pkgdesc = Little helper to run Rancher Labs k3s in Docker + pkgver = 1.3.1 + pkgrel = 1 + url = https://github.com/rancher/k3d + arch = x86_64 + license = MIT + provides = k3d + source = rancher-k3d-bin-1.3.1::https://github.com/rancher/k3d/releases/download/v1.3.1/k3d-linux-amd64 + sha256sums = 52b127b76ef76652adf94e8310c85270ae24831ca222bb082d5ced0e80380916 + +pkgname = rancher-k3d-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5356acd --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +src +pkg +*.src.tar.gz +*.pkg.tar.xz +*.part +*.AppImage + +rancher-k3d-bin-* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b0bd374 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,15 @@ +# Maintainer: Jonas Dellinger +pkgname="rancher-k3d-bin" +pkgver=1.3.1 +pkgrel=1 +pkgdesc='Little helper to run Rancher Labs k3s in Docker' +arch=('x86_64') +url='https://github.com/rancher/k3d' +license=('MIT') +provides=("k3d") +source=("${pkgname}-${pkgver}::https://github.com/rancher/k3d/releases/download/v$pkgver/k3d-linux-amd64") +sha256sums=('52b127b76ef76652adf94e8310c85270ae24831ca222bb082d5ced0e80380916') + +package() { + install -Dm 0755 ${pkgname}-${pkgver} "$pkgdir/usr/bin/k3d" +}