From 59d2b66db43dda2ae166c1bcd0bee3dd139a6511 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 30 Aug 2024 11:21:25 +0000 Subject: [PATCH] Package incus --- repo/incus.ubpkg.sky | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 repo/incus.ubpkg.sky diff --git a/repo/incus.ubpkg.sky b/repo/incus.ubpkg.sky new file mode 100644 index 0000000..b762c9d --- /dev/null +++ b/repo/incus.ubpkg.sky @@ -0,0 +1,12 @@ +gh = github_repo("lxc/incus") + +release = gh.latest_release() + +suffix = { + "linux": "", + "macos": "", + "windows": "exe", +}[os] + +asset = release.get_asset_url("bin.{os}.incus.{arch}{suffix}".format(os=os, arch=arch, suffix=suffix)) +install_binary(download_asset(asset, 32*1024*1024), "incus")