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 | |
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')
-rw-r--r-- | games/frozen-bubble/frozen-bubble-mksrctarball.sh | 16 | ||||
-rw-r--r-- | games/frozen-bubble/frozen-bubble.SlackBuild | 28 | ||||
-rw-r--r-- | games/frozen-bubble/frozen-bubble.info | 6 |
3 files changed, 33 insertions, 17 deletions
diff --git a/games/frozen-bubble/frozen-bubble-mksrctarball.sh b/games/frozen-bubble/frozen-bubble-mksrctarball.sh new file mode 100644 index 000000000000..839e65360fd3 --- /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 diff --git a/games/frozen-bubble/frozen-bubble.SlackBuild b/games/frozen-bubble/frozen-bubble.SlackBuild index 87e3fd4efce8..c5395e630568 100644 --- a/games/frozen-bubble/frozen-bubble.SlackBuild +++ b/games/frozen-bubble/frozen-bubble.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Frozen Bubble # # Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA -# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2017-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -12,22 +12,22 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=frozen-bubble -VERSION=${VERSION:-905bf71} -BUILD=${BUILD:-3} +VERSION=${VERSION:-git_20170702_d6a0291} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,7 +71,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.lz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/games/frozen-bubble/frozen-bubble.info b/games/frozen-bubble/frozen-bubble.info index 86e7ae3bec2d..33f9703776b7 100644 --- a/games/frozen-bubble/frozen-bubble.info +++ b/games/frozen-bubble/frozen-bubble.info @@ -1,8 +1,8 @@ PRGNAM="frozen-bubble" -VERSION="905bf71" +VERSION="git_20170702_d6a0291" HOMEPAGE="http://www.frozen-bubble.org/" -DOWNLOAD="http://www.liwjatan.at/files/src/frozen-bubble/frozen-bubble-905bf71.tar.xz" -MD5SUM="62fa4d53aaaa506eb38dd6595c0ed7cb" +DOWNLOAD="http://www.liwjatan.at/files/src/frozen-bubble/frozen-bubble-git_20170702_d6a0291.tar.lz" +MD5SUM="f04690d91e2dba3838e5dc9ce7708f8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Compress-Bzip2 perl-File-Slurp perl-IPC-System-Simple perl-Locale-Maketext-Lexicon perl-SDL" |