distributable:
  url: https://github.com/cilium/cilium-cli/archive/refs/tags/v{{ version }}.tar.gz
  strip-components: 1

display-name: cilium

versions:
  github: cilium/cilium-cli/releases/tags

build:
  dependencies:
    go.dev: ^1.22
  script: |
    make install BINDIR={{ prefix }}/bin VERSION=v{{ version }}

provides:
  - bin/cilium

test:
  - cilium version | grep {{ version }}
