Skip to content

Commit

Permalink
[skip ci] v1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
punq committed Nov 17, 2023
1 parent b481e90 commit 70e8b9b
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions punq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,62 @@ class Punq < Formula

on_macos do
if Hardware::CPU.arm?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-darwin-arm64.tar.gz"
sha256 "14b3aad30e9ff7e3899fce5a72dd5142997c82d106c09ecd2d20c068bb4ad58d"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-darwin-arm64.tar.gz"
sha256 "9dcfa9575b00c37af0ae363ad08c9cccfcc79ab7c944e308a8fd7e5e3599e4e5"
elsif Hardware::CPU.intel?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-darwin-amd64.tar.gz"
sha256 "5a1ac58a58fb5cd2705bb367def502285abbd0176c633949fae932ee8ec4e086"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-darwin-amd64.tar.gz"
sha256 "72ea58afb59626eaf460d3857d6ce47067296a55fb084e040684ad256ae59b18"
end
end

on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-linux-amd64.tar.gz"
sha256 "6ae9ab1d07ce58d2b4d42b585565ab6cbc12ade258cf1a420a5524af79c69d3f"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-linux-amd64.tar.gz"
sha256 "e6c2ec0b0e1706b63418859b6a7195e58785dbf9a9665daf6a0cb4aa8697ef0e"
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-linux-386.tar.gz"
sha256 "f9b36b1f0a1cccf47bb8f5e7d1c0b0d3fa8fd2a53fe0329654921ba5b640a3ac"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-linux-386.tar.gz"
sha256 "3a15bcaff7d83fab15ba0622bc907b812097726ffbc2737217d9c264b8623d38"
end
elsif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-linux-arm64.tar.gz"
sha256 "e535b2c6cc6cde25fbc48db1bb405653328bcc971f4a25036a338f1d45136950"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-linux-arm64.tar.gz"
sha256 "5226913c5594b6183ab52126a666702242e27dcef0e193e6a4b1fc2abdf4cbe8"
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.5/punq-v1.5.5-linux-arm.tar.gz"
sha256 "a1a99626a769a0c127556a9067c34b17722f631de7d4029f43b2af735e5b8c62"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.5.6/punq-v1.5.6-linux-arm.tar.gz"
sha256 "d43625e0501c72424df12becb61c7d2a2f7347dc0b0350082d8e767ff6518d5e"
end
end
end

version "1.5.5"
version "1.5.6"
license "MIT"

def install
if OS.mac?
if Hardware::CPU.arm?
# Installation steps for macOS ARM64
bin.install "punq-v1.5.5-darwin-arm64" => "punq"
bin.install "punq-v1.5.6-darwin-arm64" => "punq"
elsif Hardware::CPU.intel?
# Installation steps for macOS AMD64
bin.install "punq-v1.5.5-darwin-amd64" => "punq"
bin.install "punq-v1.5.6-darwin-amd64" => "punq"
end
elsif OS.linux?
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
# Installation steps for Linux AMD64
bin.install "punq-v1.5.5-linux-amd64" => "punq"
bin.install "punq-v1.5.6-linux-amd64" => "punq"
else
# Installation steps for Linux 386
bin.install "punq-v1.5.5-linux-386" => "punq"
bin.install "punq-v1.5.6-linux-386" => "punq"
end
elsif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
# Installation steps for Linux ARM64
bin.install "punq-v1.5.5-linux-arm64" => "punq"
bin.install "punq-v1.5.6-linux-arm64" => "punq"
else
# Installation steps for Linux ARM
bin.install "punq-v1.5.5-linux-arm" => "punq"
bin.install "punq-v1.5.6-linux-arm" => "punq"
end
end
end
Expand Down

0 comments on commit 70e8b9b

Please sign in to comment.