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

45 lines
869 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:
deno.land: ~1.39 # 1.40 shouts unskippable deprecation warnings
2023-12-13 13:42:25 +03:00
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
2024-02-20 19:50:07 +03:00
build:
script:
- mkdir -p {{prefix}}
2023-09-30 19:15:42 +03:00
2024-02-20 19:50:07 +03:00
- |
for x in $PARTS; do
test -e $x && cp -a $x "{{prefix}}"
done
env:
PARTS:
- bin
- libexec
- lib
- share
- deno.*
- audit
- build
- test
2023-09-30 19:15:42 +03:00
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