diff --git a/r/rclone/rclone-1.65.2.eb b/r/rclone/rclone-1.65.2.eb new file mode 100644 index 00000000..b1cb44be --- /dev/null +++ b/r/rclone/rclone-1.65.2.eb @@ -0,0 +1,38 @@ +# IT4Innovations +# LK 2024 + +easyblock = 'GoPackage' + +name = 'rclone' +version = '1.65.2' + +homepage = 'https://rclone.org' + +description = """ + Rclone is a command line program to sync files and directories to and from + a variety of online storage services +""" + +toolchain = SYSTEM + +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['5ae6179908650429e8d366e4940b586a4bd4aa9ee90c23c423be35550dded346'] + +# rclone 1.61.1 needs at least Go 1.17 +builddependencies = [('Go', '1.17.3')] + +postinstallcmds = [ + "mkdir -p %(installdir)s/share/{doc,man/man1}", + "cp README.* MANUAL.* %(installdir)s/share/doc/", + "cp rclone.1 %(installdir)s/share/man/man1/", +] + +sanity_check_paths = { + 'files': ['bin/rclone', 'share/doc/README.md', 'share/man/man1/rclone.1'], + 'dirs': [] +} + +sanity_check_commands = ['rclone --version'] + +moduleclass = 'tools'