homebrew-core/Formula/duply.rb

26 lines
682 B
Ruby

class Duply < Formula
desc "Frontend to the duplicity backup system"
# Canonical domain: duply.net
# Historical homepage: https://web.archive.org/web/20131126005707/ftplicity.sourceforge.net
homepage "https://sourceforge.net/projects/ftplicity/"
url "https://downloads.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/2.2.x/duply_2.2.2.tgz"
sha256 "c72662e8c11b4fae37f4cb47eeb4fcb0d3bcf53538d1522bf2208238de4c306e"
livecheck do
url :stable
regex(%r{url=.*?/duply[._-]v?(\d+(?:\.\d+)+)\.t}i)
end
bottle :unneeded
depends_on "duplicity"
def install
bin.install "duply"
end
test do
system "#{bin}/duply", "-v"
end
end