cmake/Utilities/Scripts/update-libarchive.bash

33 lines
668 B
Bash
Raw Normal View History

2016-07-09 11:21:54 +02:00
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="LibArchive"
readonly ownership="LibArchive Upstream <libarchive-discuss@googlegroups.com>"
readonly subtree="Utilities/cmlibarchive"
readonly repo="https://github.com/libarchive/libarchive.git"
2022-08-04 22:12:04 +02:00
readonly tag="v3.6.0"
2016-07-09 11:21:54 +02:00
readonly shortlog=false
readonly paths="
CMakeLists.txt
COPYING
CTestConfig.cmake
build/cmake
build/pkgconfig
build/utils
build/version
libarchive/*.*
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
fromdos build/cmake/Find*.cmake
2020-08-30 11:54:41 +02:00
echo "* -whitespace" > .gitattributes
2016-07-09 11:21:54 +02:00
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"