Skip to content

Commit

Permalink
Update formula for dukpt-1.1.1
Browse files Browse the repository at this point in the history
Also add caveat message on what to do to make Dukpt appear in Launchpad
  • Loading branch information
leonlynch committed Sep 17, 2023
1 parent dd6163f commit 973d18a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Formula/dukpt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Dukpt < Formula
desc "ANSI X9.24 DUKPT libraries and tools"
homepage "https://github.com/openemv/dukpt"
url "https://github.com/openemv/dukpt/releases/download/1.1.0/dukpt-1.1.0-src.tar.gz"
sha256 "6bcce2507b8a2eb337e6690b2ac6fba4d772b24811c064fb0451f8968c5f6533"
url "https://github.com/openemv/dukpt/releases/download/1.1.1/dukpt-1.1.1-src.tar.gz"
sha256 "38cb38fd503d2486be3438cfd01c08c9a27bfcf6833c39692b975ccf49ae94b1"
license all_of: ["LGPL-2.1-or-later", "GPL-3.0-or-later"]
head "https://github.com/openemv/dukpt.git", branch: "master"

Expand Down Expand Up @@ -37,6 +37,13 @@ def install
end
end

def caveats
<<~EOS
For Dukpt to appear in Launchpad, do this:
ln -s $(brew --prefix dukpt)/Dukpt.app /Applications/
EOS
end

test do
system "false"
end
Expand Down

0 comments on commit 973d18a

Please sign in to comment.