77 lines
2.7 KiB
Ruby
77 lines
2.7 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.7"
|
|
license "BSD-3-Clause"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.arm?
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_MacOS_arm64.tar.gz"
|
|
sha256 "7ac22d8efc12b3bc80712681178c88e016549d2e6333b69defaf793be64f7793"
|
|
|
|
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.intel?
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_MacOS_amd64.tar.gz"
|
|
sha256 "fe1d34abd0a6d2065d967f4df92a79142842ffc789e939b81be57746cef251dd"
|
|
|
|
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
|
|
|
|
on_linux do
|
|
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_Linux_arm64.tar.gz"
|
|
sha256 "37b4a58cd269bfa7a15e36c6581f5464e31a8912244baa963b6b9a72f7d332e8"
|
|
|
|
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.intel?
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_Linux_amd64.tar.gz"
|
|
sha256 "aed93524eb727009b32195340c4db906e62aa9c0de2bc36f850d2ca23864d8cf"
|
|
|
|
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.7/awl_Linux_arm.tar.gz"
|
|
sha256 "51a1a20b4f5be5442b363de3dfd81979ebc3042eda68dcca8e3b71d39316649a"
|
|
|
|
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
|