pantry/projects/pkgx.sh/package.yml

24 lines
552 B
YAML
Raw Normal View History

2023-09-30 19:15:42 +03:00
distributable:
2023-10-02 03:51:01 +03:00
url: https://github.com/pkgxdev/pkgx/releases/download/v{{ version }}/pkgx-{{ version }}.tar.xz
2023-09-30 19:15:42 +03:00
strip-components: 1
display-name: pkgx
versions:
github: pkgxdev/pkgx
provides:
- bin/pkgx
build:
dependencies:
deno.land: ^1.35
working-directory: ${{prefix}}/bin
2023-10-23 17:25:35 +03:00
# patchelf messes with Deno's ability to find the DATA block, making it
# operate as only a bloated Deno binary
skip: fix-patchelf
2023-09-30 19:15:42 +03:00
script: |
deno task --config "$SRCROOT"/deno.jsonc compile
2023-10-02 03:46:05 +03:00
test: test "$(pkgx --version)" = "pkgx {{ version }}"