aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mackup.rb17
1 files changed, 13 insertions, 4 deletions
diff --git a/Library/Formula/mackup.rb b/Library/Formula/mackup.rb
index 0c92e6f84..54ce6e360 100644
--- a/Library/Formula/mackup.rb
+++ b/Library/Formula/mackup.rb
@@ -2,11 +2,20 @@ require 'formula'
class Mackup < Formula
homepage 'https://github.com/lra/mackup'
- url 'https://github.com/lra/mackup/archive/0.5.8.tar.gz'
- sha1 'adab98fe9350ce45d4502a44b891dde64375d604'
+ url 'https://github.com/lra/mackup/archive/0.5.9.tar.gz'
+ sha1 '69d13c27b3a2794ddecb415333e783ca45aff055'
+
+ head 'https://github.com/lra/mackup.git'
+
+ depends_on :python
def install
- bin.install "mackup.py" => "mackup"
- (share/'mackup').install ".mackup.cfg" => "mackup.cfg.example"
+ bin.install 'bin/mackup'
+ (prefix+'mackup').install 'mackup/__init__.py', 'mackup/main.py'
+ share.install '.mackup.cfg' => 'mackup.cfg.example'
+ end
+
+ def test
+ system "#{bin}/mackup", '-h'
end
end