tarsnap-gui: import from homebrew/gui.
This commit is contained in:
parent
915782b57b
commit
71ee53f044
1 changed files with 20 additions and 0 deletions
20
Formula/tarsnap-gui.rb
Normal file
20
Formula/tarsnap-gui.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
class TarsnapGui < Formula
|
||||
desc "Cross platform GUI for the Tarsnap command-line client"
|
||||
homepage "https://github.com/Tarsnap/tarsnap-gui/wiki"
|
||||
url "https://github.com/Tarsnap/tarsnap-gui/archive/v0.9.tar.gz"
|
||||
sha256 "e47e1e611f2c7bb5111bcc1d2d86fa2c045ba4af23f8430bbc3c72f546572cb8"
|
||||
head "https://github.com/Tarsnap/tarsnap-gui.git"
|
||||
|
||||
depends_on "qt5"
|
||||
depends_on "tarsnap"
|
||||
|
||||
def install
|
||||
system "qmake"
|
||||
system "make"
|
||||
prefix.install "Tarsnap.app"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{opt_prefix}/Tarsnap.app/Contents/MacOS/Tarsnap", "--version"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue