aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: 01830f5413a957bc77adeb40691c3c981c3bb3fb (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-391e55a486ffac0c8adc0a9272e7dade41dab13d.tar.gz'
  sha256 'fddbe7218ab5a9455f1155fd959357636074c29f8e7dd53e29b776f9d4e936c1'
  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