aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: 2ee5ae4e66730203cc05673f65092abd378660db (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-bc5da69a21422655bf87ebaf5cb3b4e359ef5b3c.tar.gz'
  sha256 '3ce9e25f5eb53150b9d76b76cae85f4dd5b45dd17a2413f6b6e55f740720a2f2'
  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