Add script to update LibArchive from upstream

This commit is contained in:
Brad King 2016-05-02 10:17:08 -04:00
parent 24b2a36778
commit 91e6da10eb
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
#!/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"
readonly tag="master"
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
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"