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.30<1.36.1'
|
|
|
|
|
gnu.org/bash: '*'
|
2023-10-02 01:04:15 +03:00
|
|
|
|
pkgx.sh: ^1
|
2023-09-30 19:15:42 +03:00
|
|
|
|
|
|
|
|
|
build: |
|
|
|
|
|
mkdir -p {{prefix}}
|
|
|
|
|
|
|
|
|
|
rm -rf {{prefix}}/*
|
|
|
|
|
# ^^ because our build infra uses this pkg to build itself
|
|
|
|
|
|
|
|
|
|
for x in bin libexec lib share deno.*; do
|
|
|
|
|
test -e $x && mv $x "{{prefix}}"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
dependencies:
|
|
|
|
|
zlib.net: '*'
|
|
|
|
|
script:
|
|
|
|
|
pkg test zlib.net
|
|
|
|
|
# we would like to test builds but we need a `GITHUB_TOKEN` and
|
|
|
|
|
# (currently) we can’t figure out how to set that up in CI/CD
|