aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ponysay.rb
blob: b0faec371768141a037d89f2fd89ad26669d12a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Ponysay < Formula
  homepage 'http://erkin.co/ponysay/'
  url 'https://github.com/erkin/ponysay/archive/3.0.1.tar.gz'
  sha1 'bb867de2cf20a4bc454143d214c8968a0bdbe715'

  depends_on :python3
  depends_on "coreutils"

  def install
    system "./setup.py",
           "--freedom=partial",
           "--prefix=#{prefix}",
           "--cache-dir=#{prefix}/var/cache",
           "--sysconf-dir=#{prefix}/etc",
           "install"
  end
end