Skip to content

Commit

Permalink
fix(silicon)
Browse files Browse the repository at this point in the history
 closes #7417
  • Loading branch information
jhheider committed Sep 26, 2024
1 parent 3dd062b commit 59b7153
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions projects/crates.io/silicon/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributable:
url: https://github.com/Aloxaf/silicon/archive/refs/tags/v{{ version }}.tar.gz
url: https://github.com/Aloxaf/silicon/archive/refs/tags/{{ version.tag }}.tar.gz
strip-components: 1

provides:
Expand All @@ -12,7 +12,6 @@ platforms:

versions:
github: Aloxaf/silicon
strip: /v/

dependencies:
harfbuzz.org: ^5
Expand All @@ -25,11 +24,9 @@ build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
cmake.org: ^3
script:
cargo install --locked --path . --root {{prefix}}
- sed -i '1,20s/^version = .*/version = "{{ version }}"/' Cargo.toml
- cargo install --locked --path . --root {{prefix}}

test:
script:
- test "$(silicon --version)" = "silicon {{version}}"
test: test "$(silicon --version)" = "silicon {{version}}"

0 comments on commit 59b7153

Please sign in to comment.