aboutsummaryrefslogtreecommitdiff
path: root/Formula/remembering-0-1-2.rb
blob: 2f072d31baad268e09da0a8ec66561159416e1e3 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Remembering012 < Formula
  desc 'Add memory to dmenu, fzf and similar tools'
  homepage 'https://euandre.org/s/remembering/'
  url 'https://euandre.org/git/remembering/snapshot/remembering-v0.1.2.tar.xz'
  sha256 'bbf0fd451d3de3b09a01cfbcc74482741463f9d8ac73ba6024e538c203b1dfeb'
  license 'AGPL-3.0-or-later'

  def install
    system 'make',            "PREFIX=#{prefix}"
    system 'make', 'check',   "PREFIX=#{prefix}"
    system 'make', 'install', "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/remembering", '-V'
  end
end