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.10"
|
|
license "BSD-3-Clause"
|
|
|
|
on_macos do
|
|
url "https://git.froth.zone/sam/awl/releases/download/v0.5.10/awl_0.5.10_macOS_all.tar.gz"
|
|
sha256 "8cb59c519ecd0bd594fae9b09d10455f3bd28f0b78a0c9868ae6bdde7aff828b"
|
|
|
|
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.10/awl_0.5.10_Linux_armv6.tar.gz"
|
|
sha256 "a90174a1a837dde08ed4020e5445b6c2d274944750942f95a61778b457b265d2"
|
|
|
|
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.10/awl_0.5.10_Linux_amd64.tar.gz"
|
|
sha256 "8511b885e64bad135c904fbe4906cfc498592433c443c92b4ad547f760821c9b"
|
|
|
|
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.10/awl_0.5.10_Linux_arm64.tar.gz"
|
|
sha256 "7bfe913ea384ed09f07337fd4d8c0c6aed869dafb943a79313696c42cc6b8896"
|
|
|
|
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
|