diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-09-19 17:40:11 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-09-22 11:33:22 +0700 |
commit | 1d5ed22ceac81e74bc80ae2cc8c5f0dff220a5d5 (patch) | |
tree | 4d22e5420c090470f87205d6a2170be7771bfe26 /games/frozen-bubble/frozen-bubble-mksrctarball.sh | |
parent | ee2628e0c14dc64c359adc000b775405476ff21a (diff) |
games/frozen-bubble: Updated for version git_20170702_d6a0291
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/frozen-bubble/frozen-bubble-mksrctarball.sh')
-rw-r--r-- | games/frozen-bubble/frozen-bubble-mksrctarball.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games/frozen-bubble/frozen-bubble-mksrctarball.sh b/games/frozen-bubble/frozen-bubble-mksrctarball.sh new file mode 100644 index 0000000000000..839e65360fd3f --- /dev/null +++ b/games/frozen-bubble/frozen-bubble-mksrctarball.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +git clone https://github.com/kthakore/frozen-bubble.git + +cd frozen-bubble + VERSION="git_$(git log --format="%ad_%h" --date=short | head -n 1 | tr -d -)" + LONGDATE="$(git log -1 --format=%cd --date=format:%c )" +cd .. + +mv frozen-bubble frozen-bubble-$VERSION + +tar --exclude-vcs -cf frozen-bubble-$VERSION.tar frozen-bubble-$VERSION +plzip -9 -v frozen-bubble-$VERSION.tar +touch -d "$LONGDATE" frozen-bubble-$VERSION.tar.lz + +rm -rf frozen-bubble-$VERSION |