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

class Mackup < Formula
  homepage 'https://github.com/lra/mackup'
  url 'https://github.com/lra/mackup/archive/0.6.1.tar.gz'
  sha1 '35cdbb7437b345c04ef87d04bd4e8c27c24236de'

  head 'https://github.com/lra/mackup.git'

  depends_on :python

  def install
    system 'python', 'setup.py', 'install', "--prefix=#{prefix}"
  end

  def test
    system "#{bin}/mackup", '--help'
  end
end