Skip to content

Commit

Permalink
Package gurk
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpdp7 committed Sep 7, 2024
1 parent 65018c2 commit 1dcc768
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions repo/gurk.ubpkg.sky
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 1dcc768

Please sign in to comment.