slackbuilds/l/litehtml/get_sources.sh
Michal Cieslakiewicz e9571a1fa6 Initial commit.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2020-04-16 19:31:17 +02:00

7 lines
253 B
Bash
Executable File

APP=litehtml
VERSION=$(date '+%Y%m%d')git
git clone --depth=1 https://github.com/litehtml/${APP}.git
mv ${APP} ${APP}-${VERSION}
tar cf - ${APP}-${VERSION} | xz -c9 > ${APP}-${VERSION}.tar.xz
[ -s ${APP}-${VERSION}.tar.xz ] && rm -rf ${APP}-${VERSION}