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.9"
|
|
license "BSD-3-Clause"
|
|
|
|
on_macos do
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.5.9/awl_0.5.9_macOS_all.tar.gz"
|
|
sha256 "1a56454b1543e2d9dee990ab40df87bb2b48574f29746417a2f122e977c847f4"
|
|
|
|
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.9/awl_0.5.9_Linux_armv6.tar.gz"
|
|
sha256 "53191e53c1515525f121328895f4f2175b6dde1a0c167345f263e17fb9dcdb6a"
|
|
|
|
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.9/awl_0.5.9_Linux_amd64.tar.gz"
|
|
sha256 "0e4a5ad13b3cd6a18ebffb4a6ad0679301589e593b3c39f4a7e4b295a9811e56"
|
|
|
|
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.9/awl_0.5.9_Linux_arm64.tar.gz"
|
|
sha256 "4198919df6bcebc805946ce5b699051e04be6eed8a5564471d74017de13bba57"
|
|
|
|
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
|