63 lines
2.2 KiB
Ruby
63 lines
2.2 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.5.11"
|
|
license "BSD-3-Clause"
|
|
|
|
on_macos do
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.5.11/awl_0.5.11_macOS_all.tar.gz"
|
|
sha256 "71de891f3fc94cca790fca58de97e7d62f57c6d69fea7a68748e57c05374c7e5"
|
|
|
|
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
|
|
|
|
on_linux do
|
|
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.5.11/awl_0.5.11_Linux_armv6.tar.gz"
|
|
sha256 "2aad6113a887e3310269f06bddd3a0761268cc32385a5f3daa385e84defce1a6"
|
|
|
|
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.5.11/awl_0.5.11_Linux_arm64.tar.gz"
|
|
sha256 "cfdf930209b67a4e232185037fdb2fd828c5d993907a3638e0a4d398a1aec941"
|
|
|
|
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.5.11/awl_0.5.11_Linux_amd64.tar.gz"
|
|
sha256 "f06bc14f3c7349065e0194bbf2b2ba9f0f8702bd7b8da0db6f9109346091f02d"
|
|
|
|
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
|