aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: ad8be3d4c825142146273a1d0867ac67fc1a26db (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-8d8307e8a5d7570c1373717963895c0506e7e098.tar.gz'
  sha256 '8c1143a9027f51832424f6bbee9cf76a95e638c0950401abe8da1dcac73823ef'
  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