mackup 0.5.9
Closes Homebrew/homebrew#26180. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0109bf02ec
commit
63966eb20a
1 changed files with 13 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue