1
0

update-libarchive.bash 719 B

123456789101112131415161718192021222324252627282930313233
  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 paths="
  12. CMakeLists.txt
  13. COPYING
  14. CTestConfig.cmake
  15. build/cmake
  16. build/pkgconfig
  17. build/utils
  18. build/version
  19. libarchive/*.*
  20. "
  21. extract_source () {
  22. git_archive
  23. pushd "${extractdir}/${name}-reduced"
  24. fromdos build/cmake/Find*.cmake
  25. echo "* -whitespace" > .gitattributes
  26. echo "" >> libarchive/archive_read_open_file.c
  27. popd
  28. }
  29. . "${BASH_SOURCE%/*}/update-third-party.bash"