pantry/projects/pkgx.sh/package.yml

24 lines
600 B
YAML

distributable:
url: https://github.com/pkgxdev/pkgx/releases/download/v{{ version }}/pkgx-{{ version }}.tar.xz
strip-components: 1
display-name: pkgx
versions:
github: pkgxdev/pkgx
provides:
- bin/pkgx
build:
dependencies:
deno.land: ~1.39 # 1.40 shouts unskippable deprecation warnings
working-directory: ${{prefix}}/bin
# patchelf messes with Deno's ability to find the DATA block, making it
# operate as only a bloated Deno binary
skip: fix-patchelf
script: |
deno task --config "$SRCROOT"/deno.jsonc compile
test: test "$(pkgx --version)" = "pkgx {{ version }}"