pantry/projects/pkgx.sh/brewkit/package.yml

33 lines
680 B
YAML
Raw Normal View History

2023-09-30 19:15:42 +03:00
distributable:
url: https://github.com/pkgxdev/brewkit/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
display-name: brewkit
versions:
2023-10-02 01:04:15 +03:00
github: pkgxdev/brewkit
2023-09-30 19:15:42 +03:00
dependencies:
2023-12-13 13:42:25 +03:00
deno.land: ^1.37
gnu.org/bash: ^5
2023-10-02 01:04:15 +03:00
pkgx.sh: ^1
2023-09-30 19:15:42 +03:00
2023-12-13 13:42:25 +03:00
provides:
- bin/bk
2023-09-30 19:15:42 +03:00
build: |
mkdir -p {{prefix}}
for x in bin libexec lib share deno.*; do
test -e $x && mv $x "{{prefix}}"
done
test:
2023-12-13 13:42:25 +03:00
# we cant test builds since brewkit is not designed to be invoked
# recursively and fails in the toolchain setup on Linux and fails due to
# Ruby 2 not liking unicode paths on macOS
#- bk build pkgx.sh/brewkit
#- bk test pkgx.sh/brewkit
- bk --help
- bk build --help