From 1dcc7689459f74565c1276797dfd3624672096ba Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Sep 2024 19:06:47 +0200 Subject: [PATCH] Package gurk --- repo/gurk.ubpkg.sky | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 repo/gurk.ubpkg.sky diff --git a/repo/gurk.ubpkg.sky b/repo/gurk.ubpkg.sky new file mode 100644 index 0000000..7e7ebd1 --- /dev/null +++ b/repo/gurk.ubpkg.sky @@ -0,0 +1,12 @@ +gh = github_repo("boxdot/gurk-rs") + +release = gh.latest_release() + +os_str = { + "linux": "unknown-linux-musl", + "macos": "apple-darwin", +}[os] + +asset = release.get_asset_url("gurk-{arch}-{os_str}.tar.gz".format(arch=arch, os_str=os_str)) + +install_binary(extract_from_url(asset, "gurk"), "gurk")