homebrew-core/Formula/offline-imap.rb

15 lines
399 B
Ruby
Raw Normal View History

require 'formula'
class OfflineImap < Formula
url "https://github.com/downloads/rue/offlineimap/offlineimap-6.2.0.tar.gz"
homepage "https://github.com/rue/offlineimap"
md5 "919ad6f71b8437ad0a08a5fdeae9cb67"
def install
libexec.install 'bin/offlineimap' => 'offlineimap.py'
libexec.install 'offlineimap'
bin.mkpath
ln_s libexec+'offlineimap.py', bin+'offlineimap'
end
end