class Promfmt < FPM::Cookery::Recipe
  name 'promfmt'
  version '1.3.1'
  source "https://github.com/caarlos0/promfmt/releases/download/v#{version}/promfmt_linux_amd64.tar.gz"

  def build
    safesystem "strip -s #{name}"
  end

  def install
    bin.install name
  end
end
