aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering.rb
blob: 1652045706e66daa622235fade126e97bf18a9bf (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Remembering < Formula
  desc 'Add memory to dmenu, fzf and similar tools.'
  homepage 'https://remembering.euandreh.xyz'
  url 'https://git.euandreh.xyz/remembering/snapshot/remembering-0.2.1.tar.gz'
  sha256 '0e8d4068c091f84a3303bf6e95c58fb79764dea5e26696c4d7f8f86e1a45031f'
  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