aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: f762b7247a0b8012cf67c1cd73ef2061d7510132 (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-5476f9fab45efd3996d50d8b9a1ff4e825d93f44.tar.gz'
  sha256 '41480cfdbf37ebcc55a3e4f6342efc5ae19b04204d0901f121ebea238288f4b3'
  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