aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: e7826a2d48c2a273dcc17e07a693323dfa5e963b (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-078c9015a741cb35acec528fe1a0971e513169b5.tar.gz'
  sha256 '5e634d438af81bc52a94c460a895a5f80e6e2f6023331e59dbe3b58483a78632'
  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