update-libarchive.bash 751 B

12345678910111213141516171819202122232425262728293031323334
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="LibArchive"
  6. readonly ownership="LibArchive Upstream <[email protected]>"
  7. readonly subtree="Utilities/cmlibarchive"
  8. readonly repo="https://github.com/libarchive/libarchive.git"
  9. readonly tag="v3.8.1"
  10. readonly shortlog=false
  11. readonly exact_tree_match=false
  12. readonly paths="
  13. CMakeLists.txt
  14. COPYING
  15. CTestConfig.cmake
  16. build/cmake
  17. build/pkgconfig
  18. build/utils
  19. build/version
  20. libarchive/*.*
  21. "
  22. extract_source () {
  23. git_archive
  24. pushd "${extractdir}/${name}-reduced"
  25. fromdos build/cmake/Find*.cmake
  26. echo "* -whitespace" > .gitattributes
  27. echo "" >> libarchive/archive_read_open_file.c
  28. popd
  29. }
  30. . "${BASH_SOURCE%/*}/update-third-party.bash"