27 lines
707 B
Ruby
27 lines
707 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.3.x/duply_2.3.1.tgz"
|
|
sha256 "f044f9d4b81891785212f856ace2064e8a08da19330587d580a5c233575a3091"
|
|
license "GPL-2.0-only"
|
|
|
|
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
|