From d3f2eed3e15a3380583c72a6f8e16cbe85614bed Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 03:37:39 -0300 Subject: Add Homebrew initial packaging --- Formula/remembering.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/remembering.rb (limited to 'Formula/remembering.rb') diff --git a/Formula/remembering.rb b/Formula/remembering.rb new file mode 100644 index 0000000..1007a0d --- /dev/null +++ b/Formula/remembering.rb @@ -0,0 +1,18 @@ +class Remembering < Formula + desc 'Add memory to dmenu, fzf and similar tools.' + homepage 'https://remembering.euandreh.xyz' + url 'https://git.euandreh.xyz/remembering/snapshot/remembering-793b782617b0667eefa938a836f24d8a5e087bb0.tar.gz' + sha256 '0049501383ce7fc4d42a406f8193e1f05ff3e9a3dce3a9e40e56d9997f96f691' + license 'AGPL-3.0-or-later' + + def install + system './configure', "--prefix=#{prefix}" + system 'make' + system 'make', 'check' + system 'make', 'install' + end + + test do + system "#{bin}/remembering", '-V' + end +end -- cgit v1.2.3