aboutsummaryrefslogblamecommitdiff
path: root/Formula/remembering-latest.rb
blob: 9a1b33a3a0705c5c1d95de244e080d9c0bc2ad46 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                 
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-3c4e5879b47ed18838352e567cd26beed9361acc.tar.gz'
  sha256 'b072df907f68efca62dcd81c58b47bfbdc5ea85f8a82dcb76dd89fb246af5b7d'
  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