update-libarchive.bash 626 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="LibArchive"
  6. readonly ownership="LibArchive Upstream <libarchive-discuss@googlegroups.com>"
  7. readonly subtree="Utilities/cmlibarchive"
  8. readonly repo="https://github.com/libarchive/libarchive.git"
  9. readonly tag="v3.3.2"
  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. popd
  26. }
  27. . "${BASH_SOURCE%/*}/update-third-party.bash"