Skip to content

Commit

Permalink
feat(jubako/arx): scaffold jubako/arx (#24976)
Browse files Browse the repository at this point in the history
* feat(jubako/arx): scaffold jubako/arx

* fix(registry): fix file_src and checksum for windows

* refactor(jubako/arx): remove duplicated files

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
NikitaCOEUR and suzuki-shunsuke committed Jul 16, 2024
1 parent aac4493 commit 87e8212
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/jubako/arx/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: jubako/arx@0.2.1
37 changes: 37 additions & 0 deletions pkgs/jubako/arx/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
packages:
- type: github_release
repo_owner: jubako
repo_name: arx
description: Store files and directory in an archive. Like tar, but faster and with direct random access
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.2.0")
no_asset: true
- version_constraint: "true"
asset: arx-{{.Version}}-{{.OS}}.{{.Format}}
format: tar.gz
files:
- name: arx
src: arx-{{.Version}}-{{.OS}}/arx
rosetta2: true
windows_arm_emulation: true
replacements:
darwin: macos
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
algorithm: sha256
overrides:
- goos: windows
format: zip
checksum:
type: github_release
file_format: regexp
asset: "{{.Asset}}.sha256"
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
supported_envs:
- darwin
- windows
- amd64
36 changes: 36 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87e8212

Please sign in to comment.