aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/dome-key.in.rb
blob: 686fc901298d4e2d7da6148e605b5e023d3176d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class DomeKey < Formula
  desc ""
  homepage ""
  version "${VERSION}"
  url ""
  sha256 "${SHA256}"

  # Rust code requires at least 10.7
  depends_on :macos => :lion

  def install
    bin.install "dome-key"
    man1.install "dome-key.1"
  end

  def plist_name
    "com.teddywing.dome-key"
  end

  def plist; <<~EOS
${PLIST}
  EOS
  end
end