Commit d76f25e 1 parent a5713ba commit d76f25e Copy full SHA for d76f25e
File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
class Totp < Formula
2
2
desc "Simple TOTP CLI, powered by keychain of macOS"
3
3
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 "
6
6
license "Apache-2.0" # Actually it's (Apache-2.0 OR MIT). Commenting it out due do false-alarm of "brew audit"
7
7
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
-
16
8
depends_on "go" => :build
17
9
18
10
def install
19
- system "go" , "build" , "-o" , "totp"
20
- bin . install "totp"
11
+ system "go" , "build" , *std_go_args ( ldflags : "-s -w" )
21
12
end
22
13
end
You can’t perform that action at this time.
0 commit comments