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:
|
2024-01-30 18:23:39 +03:00
|
|
|
|
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
|
|
|
|
|
|
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 can’t 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
|