Add script to download and strip solvespace.
authorAnton Gladky <gladk@debian.org>
Mon, 15 Aug 2016 20:31:00 +0000 (22:31 +0200)
committerAnton Gladky <gladk@debian.org>
Mon, 15 Aug 2016 20:31:00 +0000 (22:31 +0200)
debian/get_orig.sh [new file with mode: 0755]

diff --git a/debian/get_orig.sh b/debian/get_orig.sh
new file mode 100755 (executable)
index 0000000..34c82a4
--- /dev/null
@@ -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