You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/collada-dom/files/take_snapshot.sh

15 lines
330 B

#!/bin/sh
VERSION=$(date +%Y%m%d)
PACKAGE="collada-dom-2.4.3_pre${VERSION}"
git clone https://github.com/rdiankov/collada-dom ${PACKAGE}
find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf
tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
rm -rf ${PACKAGE}/
echo "Tarball: \"${PACKAGE}.tar.xz\""
echo "** all done **"