diff --git a/kiwixbuild/dependencies/docoptcpp.py b/kiwixbuild/dependencies/docoptcpp.py index e63453e..32e1361 100644 --- a/kiwixbuild/dependencies/docoptcpp.py +++ b/kiwixbuild/dependencies/docoptcpp.py @@ -1,6 +1,6 @@ from .base import ( Dependency, - ReleaseDownload, + GitClone, CMakeBuilder) from kiwixbuild.utils import Remotefile @@ -10,10 +10,10 @@ from kiwixbuild.utils import Remotefile class docoptcpp(Dependency): name = 'docoptcpp' - class Source(ReleaseDownload): - archive = Remotefile('v0.6.2.tar.gz', - 'c05542245232420d735c7699098b1ea130e3a92bade473b64baf876cdf098a17', - 'https://github.com/docopt/docopt.cpp/archive/v0.6.2.tar.gz') + class Source(GitClone): + git_remote = "https://github.com/docopt/docopt.cpp.git" + git_dir = "docopt.cpp" + git_ref = "3dd23e3280f213bacefdf5fcb04857bf52e90917" class Builder(CMakeBuilder): make_install_target = 'install'