From: Anton Gladky Date: Mon, 15 Aug 2016 20:31:00 +0000 (+0200) Subject: Add script to download and strip solvespace. X-Git-Tag: archive/raspbian/3.1+ds1-4+rpi1^2~160 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5d780e6c10ef2bb4dc87f5b69e4049d6e61cf7f6;p=solvespace.git Add script to download and strip solvespace. --- diff --git a/debian/get_orig.sh b/debian/get_orig.sh new file mode 100755 index 0000000..34c82a4 --- /dev/null +++ b/debian/get_orig.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +RELEASE_NAME=2.x + +UPSTREAM="https://github.com/solvespace/solvespace.git" +git clone --depth=1 --recursive -b ${RELEASE_NAME} ${UPSTREAM} + +rm -rfv solvespace/extlib/libfreetype +rm -rfv solvespace/extlib/libpng +rm -rfv solvespace/extlib/zlib +rm -rfv solvespace/extlib/si +rm -rfv solvespace/debian +rm -rfv solvespace/.git +rm -rfv solvespace/.travis +rm -rfv solvespace/src/fonts/unifont-8.0.01.hex.gz + +tar cJf solvespace_${RELEASE_NAME}+repack2.tar.xz solvespace