mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
1d5ed22cea
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
16 lines
466 B
Bash
16 lines
466 B
Bash
#!/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
|