Skip to content

Commit d76f25e

Browse files
committed
totp: 1.1.0
1 parent a5713ba commit d76f25e

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Formula/totp.rb

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
class Totp < Formula
22
desc "Simple TOTP CLI, powered by keychain of macOS"
33
homepage "https://github.com/simnalamburt/macos-totp-cli"
4-
url "https://github.com/simnalamburt/macos-totp-cli/archive/refs/tags/v1.0.0.tar.gz"
5-
sha256 "afb947ac9b0cb227a302e81f6faf1f9c8bbadc169bba2445d9104cbb7200eeb2"
4+
url "https://github.com/simnalamburt/macos-totp-cli/archive/refs/tags/v1.1.0.tar.gz"
5+
sha256 "b95ff20c80f0aa9ee7fa858ca0d85dcb2f24bfbee7940c59495b561dd04a875e"
66
license "Apache-2.0" # Actually it's (Apache-2.0 OR MIT). Commenting it out due do false-alarm of "brew audit"
77

8-
bottle do
9-
root_url "https://github.com/simnalamburt/homebrew-x/releases/download/totp-1.0.0"
10-
rebuild 1
11-
sha256 cellar: :any_skip_relocation, arm64_monterey: "d62520bc01c337a73086af23b77e9c07b8e2babeeea8b6d703d25cf6ee102860"
12-
sha256 cellar: :any_skip_relocation, arm64_big_sur: "9f95f6e26b5e6f53e24367d78dabf4eed989cb32f965cda4d4334e6845e0f2fe"
13-
sha256 cellar: :any_skip_relocation, monterey: "98727705a085dc49bac28adfcf9c165cc3ca92de1a9d766f74612a5d3d8194ad"
14-
end
15-
168
depends_on "go" => :build
179

1810
def install
19-
system "go", "build", "-o", "totp"
20-
bin.install "totp"
11+
system "go", "build", *std_go_args(ldflags: "-s -w")
2112
end
2213
end

0 commit comments

Comments
 (0)