mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
32 lines
569 B
YAML
32 lines
569 B
YAML
distributable:
|
|
url: https://github.com/koalaman/shellcheck/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: koalaman/shellcheck/tags
|
|
|
|
provides:
|
|
- bin/shellcheck
|
|
|
|
dependencies:
|
|
sourceware.org/libffi: 3
|
|
|
|
build:
|
|
dependencies:
|
|
haskell.org: ^9
|
|
haskell.org/cabal: ^3
|
|
script: |-
|
|
mkdir -p "{{prefix}}/bin"
|
|
cabal update
|
|
cabal install $ARGS
|
|
env:
|
|
ARGS:
|
|
- --install-method=copy
|
|
- --installdir={{prefix}}/bin
|
|
|
|
test:
|
|
fixture: |
|
|
#!/bin/sh
|
|
echo "Hello, world!"
|
|
script:
|
|
shellcheck $FIXTURE
|