diff --git a/SOURCES/gpac-snapshot.sh b/SOURCES/gpac-snapshot.sh new file mode 100644 index 0000000..3e73637 --- /dev/null +++ b/SOURCES/gpac-snapshot.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +DIRNAME=gpac-$(date +%Y%m%d) + +git clone --depth 1 https://github.com/gpac/gpac.git ${DIRNAME} + +rm -rf ${DIRNAME}/.git +rm -rf ${DIRNAME}/extra_lib + +tar cJf ${DIRNAME}.tar.xz ${DIRNAME}