Skip to content

Commit

Permalink
[skip ci] v1.2.38-develop.22
Browse files Browse the repository at this point in the history
  • Loading branch information
punq committed Sep 29, 2023
1 parent c857363 commit 928d170
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 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.2.38-develop.20/punq-v1.2.38-develop.20-darwin-arm64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-darwin-arm64.tar.gz"
sha256 ""
elsif Hardware::CPU.intel?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.20/punq-v1.2.38-develop.20-darwin-amd64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-darwin-amd64.tar.gz"
sha256 ""
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.2.38-develop.20/punq-v1.2.38-develop.20-linux-amd64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-linux-amd64.tar.gz"
sha256 ""
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.20/punq-v1.2.38-develop.20-linux-386.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-linux-386.tar.gz"
sha256 ""
end
elif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.20/punq-v1.2.38-develop.20-linux-arm64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-linux-arm64.tar.gz"
sha256 ""
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.20/punq-v1.2.38-develop.20-linux-arm.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.2.38-develop.22/punq-v1.2.38-develop.22-linux-arm.tar.gz"
sha256 ""
end
end
end

version "1.2.38-develop.20"
version "1.2.38-develop.22"
license "MIT"

def install
if OS.mac?
if Hardware::CPU.arm?
# Installation steps for macOS ARM64
bin.install "punq-v1.2.38-develop.20-darwin-arm64" => "punq"
bin.install "punq-v1.2.38-develop.22-darwin-arm64" => "punq"
elsif Hardware::CPU.intel?
# Installation steps for macOS AMD64
bin.install "punq-v1.2.38-develop.20-darwin-amd64" => "punq"
bin.install "punq-v1.2.38-develop.22-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.2.38-develop.20-linux-amd64" => "punq"
bin.install "punq-v1.2.38-develop.22-linux-amd64" => "punq"
else
# Installation steps for Linux 386
bin.install "punq-v1.2.38-develop.20-linux-386" => "punq"
bin.install "punq-v1.2.38-develop.22-linux-386" => "punq"
end
elsif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
# Installation steps for Linux ARM64
bin.install "punq-v1.2.38-develop.20-linux-arm64" => "punq"
bin.install "punq-v1.2.38-develop.22-linux-arm64" => "punq"
else
# Installation steps for Linux ARM
bin.install "punq-v1.2.38-develop.20-linux-arm" => "punq"
bin.install "punq-v1.2.38-develop.22-linux-arm" => "punq"
end
end
end
Expand Down

0 comments on commit 928d170

Please sign in to comment.