aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: 02e954fe8c1309a8e344625010ddbfc0b01e7fc3 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class RememberingLatest < Formula
  desc 'Add memory to dmenu, fzf and similar tools.'
  homepage 'https://remembering.euandreh.xyz'
  url 'https://git.euandreh.xyz/remembering/snapshot/remembering-9c905a272b6fd85354b8b8aae739977a336c108f.tar.gz'
  sha256 'a0babf590cc61273defca79b20b14f75c9fb4ded52db6904275306af6257d672'
  license 'AGPL-3.0-or-later'

  def install
    system 'make'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/remembering", '-V'
  end
end