aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-latest.rb
blob: 8ade59f547bda55355876c4802ac9524924c5822 (about) (plain) (blame)
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-c5b2d2c20ba3d106e4fe36b3c12bb62bf7f5e45c.tar.gz'
  sha256 '816511507bb0c249e27d8e4f6eec895c6784cd902051038ee3e8e091dc633220'
  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