mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 06:20:27 -04:00
prepare homebrew filebot formula (the the filebot console command doesn't currently work due to issues in the startup script)
This commit is contained in:
parent
cbeb74f1f3
commit
7f67984bd7
20
installer/homebrew/filebot.rb
Normal file
20
installer/homebrew/filebot.rb
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
require "formula"
|
||||||
|
|
||||||
|
class Filebot < Formula
|
||||||
|
homepage "http://www.filebot.net/"
|
||||||
|
url "http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.1/FileBot_4.1.app.tar.gz"
|
||||||
|
sha1 "1a0363b9a7bfa2bbd7d6c81d22a0c8e154c8ce81"
|
||||||
|
version "4.1"
|
||||||
|
|
||||||
|
def install
|
||||||
|
# Create .app bundle in prefix
|
||||||
|
(prefix/'FileBot.app').install Dir['*']
|
||||||
|
|
||||||
|
# Create filebot symlink in bin
|
||||||
|
bin.install_symlink prefix/'FileBot.app/Contents/MacOS/filebot.sh' => 'filebot'
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{bin}/filebot", "-version"
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user