Merge pull request #207020 from Homebrew/bump-qpdf-11.10.0
[Homebrew/homebrew-core.git] / Formula / e / envchain.rb
blob151a940e24a64f3d40448a168edcf22b212b1e2c
1 class Envchain < Formula
2   desc "Secure your credentials in environment variables"
3   homepage "https://github.com/sorah/envchain"
4   url "https://github.com/sorah/envchain/archive/refs/tags/v1.1.0.tar.gz"
5   sha256 "832bcf58037db6187f7327282e347e45627ea617c2e09a9e6d18629e7310fff9"
6   license "MIT"
7   head "https://github.com/sorah/envchain.git", branch: "master"
9   bottle do
10     sha256 cellar: :any_skip_relocation, arm64_sequoia:  "89bc49ffc1341fb5f06e5510be523ddb5d3a7270ad02a53382505f2cb817675b"
11     sha256 cellar: :any_skip_relocation, arm64_sonoma:   "08f5b3cde3d1896f4fca18a13095967ea1d127173e5ee23e780fcc12fd6baf9f"
12     sha256 cellar: :any_skip_relocation, arm64_ventura:  "24af1fb8d859658e4cfbc05b3e9fa27dda8e2279c0ea837c690bdd12923687b7"
13     sha256 cellar: :any_skip_relocation, arm64_monterey: "8cc5dc5ec2f1fac17348730ba22508f9ee2bce670312987c2637257f7e852412"
14     sha256 cellar: :any_skip_relocation, sonoma:         "b9ac4877ddba27b20d986e8ade239c4fc12e9b85968d2f07106cbd3f1504a8ec"
15     sha256 cellar: :any_skip_relocation, ventura:        "a3f83b8b0b6ea0236e3474a1e1a2a7d5c931be0bcd95d8f29f5d3b15ffd4e387"
16     sha256 cellar: :any_skip_relocation, monterey:       "1e9696dfc24f702c88cdb3f02fa4d462524d8b3e95cf4eaafd8c315122da9179"
17     sha256 cellar: :any_skip_relocation, x86_64_linux:   "9a8253f12f7d1ec624b755a99a0906b501b6dfb4d299ddb552c8a35a397293cc"
18   end
20   on_linux do
21     depends_on "pkgconf" => :build
22     depends_on "glib"
23     depends_on "libsecret"
24     depends_on "readline"
25   end
27   def install
28     system "make", "DESTDIR=#{prefix}", "install"
29   end
31   test do
32     assert_match "envchain version #{version}", shell_output("#{bin}/envchain 2>&1", 2)
33   end
34 end