homebrew/awl.rb
2023-02-17 18:26:16 +00:00

51 lines
1.8 KiB
Ruby

# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Awl < Formula
desc "A DNS query tool"
homepage "https://dns.froth.zone/awl"
version "0.6.3"
license "BSD-3-Clause"
depends_on :linux
on_linux do
if Hardware::CPU.intel?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.3/awl_Linux_amd64.tar.gz"
sha256 "7caf3ccbbf664653904e47cd4a6cb0e190ac7cbc2fb3468b6ca9e5e99c65d1d1"
def install
bin.install "awl"
bash_completion.install "completions/bash.bash" => "awl"
zsh_completion.install "completions/zsh.zsh" => "_awl"
fish_completion.install "completions/fish.fish" => "awl.fish"
man1.install "doc/awl.1.gz"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.3/awl_Linux_arm.tar.gz"
sha256 "672d04a6f6fd7560b743f4344af1720e71345c1f4a3c85cd9eae9b5f0a717dc9"
def install
bin.install "awl"
bash_completion.install "completions/bash.bash" => "awl"
zsh_completion.install "completions/zsh.zsh" => "_awl"
fish_completion.install "completions/fish.fish" => "awl.fish"
man1.install "doc/awl.1.gz"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.3/awl_Linux_arm64.tar.gz"
sha256 "9a4400b215d4956bff61157d25ee0a95ed7fd9fb8806efb9a656ebcf973caf44"
def install
bin.install "awl"
bash_completion.install "completions/bash.bash" => "awl"
zsh_completion.install "completions/zsh.zsh" => "_awl"
fish_completion.install "completions/fish.fish" => "awl.fish"
man1.install "doc/awl.1.gz"
end
end
end
end