summaryrefslogtreecommitdiffstats
path: root/games/etlegacy-from-source/files/get_tarball_from_git.sh
diff options
context:
space:
mode:
author Matteo Bernardini2022-02-24 19:10:27 +0100
committer Willy Sudiarto Raharjo2022-02-25 16:58:06 +0100
commita2963d4d5cf8960b40722f9635fdbc2d9071ee6d (patch)
tree80e5766d152dac6baad59448bcc3085b94d6430b /games/etlegacy-from-source/files/get_tarball_from_git.sh
parent6d718c2d25353cb14fcf555a16b80d20b6bbddbf (diff)
downloadslackbuilds-a2963d4d5cf8960b40722f9635fdbc2d9071ee6d.tar.gz
games/etlegacy-from-source: Removed (use the binary).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/etlegacy-from-source/files/get_tarball_from_git.sh')
-rw-r--r--games/etlegacy-from-source/files/get_tarball_from_git.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/games/etlegacy-from-source/files/get_tarball_from_git.sh b/games/etlegacy-from-source/files/get_tarball_from_git.sh
deleted file mode 100644
index a0f1819819..0000000000
--- a/games/etlegacy-from-source/files/get_tarball_from_git.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-rm -fR /tmp/tmp-etlegacy
-mkdir -p /tmp/tmp-etlegacy
-cd /tmp/tmp-etlegacy
-git clone git://github.com/etlegacy/etlegacy.git
-cd etlegacy
-git submodule init
-git submodule update
-cd libs
-git archive master > ../../libs.tar
-cd ..
-COMMIT=$( git log -1 | head -1 | cut -c 8-14 )
-COMMDATE=$( git log -1 --date=short | grep ^Date | awk '{print $2}' | sed 's/-//g' )
-rm -f /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz
-git archive master > ../src.tar
-cd ..
-mkdir etlegacy-${COMMDATE}_${COMMIT}
-cd etlegacy-${COMMDATE}_${COMMIT}
-tar xf ../src.tar
-cd libs
-tar xf ../../libs.tar
-cd ..
-cd ..
-rm -f src.tar libs.tar scripts.tar
-tar Jcf /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz etlegacy-${COMMDATE}_${COMMIT}
-echo "/tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz done."