def METHOD_NAME(self):
    copy(self, pattern="LICENSE*", dst=join(self.package_folder, "licenses"), src=self.source_folder)
    cmake = CMake(self)
    cmake.install()
    rmdir(self, join(self.package_folder, "share"))
    # TODO: to remove in conan v2 once cmake_find_package* generators removed
    self._create_cmake_module_alias_targets(
        join(self.package_folder, self._module_file_rel_path),
        {
            "rapidcheck": "rapidcheck::rapidcheck_rapidcheck",
            "rapidcheck_catch":"rapidcheck::rapidcheck_catch",
            "rapidcheck_gmock": "rapidcheck::rapidcheck_gmock",
            "rapidcheck_gtest": "rapidcheck::rapidcheck_gtest",
        }
    )