homebrew-core/Formula/iphotoexport.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

17 lines
610 B
Ruby

class Iphotoexport < Formula
desc "Export and synchronize iPhoto library to a folder tree"
homepage "https://code.google.com/p/iphotoexport/"
url "https://iphotoexport.googlecode.com/files/iphotoexport-1.6.4.zip"
sha256 "85644b5be1541580a35f1ea6144d832267f1284ac3ca23fe9bcd9eda5aaea5d3"
depends_on "exiftool"
def install
unzip_dir = "#{name}-#{version}"
# Change hardcoded exiftool path
inreplace "#{unzip_dir}/tilutil/exiftool.py", "/usr/bin/exiftool", "exiftool"
prefix.install Dir["#{unzip_dir}/*"]
bin.install_symlink prefix+"iphotoexport.py" => "iphotoexport"
end
end