Skip to content

Commit 1dcc768

Browse files
committed
Package gurk
1 parent 65018c2 commit 1dcc768

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

repo/gurk.ubpkg.sky

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
gh = github_repo("boxdot/gurk-rs")
2+
3+
release = gh.latest_release()
4+
5+
os_str = {
6+
"linux": "unknown-linux-musl",
7+
"macos": "apple-darwin",
8+
}[os]
9+
10+
asset = release.get_asset_url("gurk-{arch}-{os_str}.tar.gz".format(arch=arch, os_str=os_str))
11+
12+
install_binary(extract_from_url(asset, "gurk"), "gurk")

0 commit comments

Comments
 (0)