diff options
author | B. Watson <yalhcru@gmail.com> | 2014-05-01 09:29:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-01 09:29:30 +0700 |
commit | c1b6500b948e9018c51b8904d9ed66a2673d6d06 (patch) | |
tree | ae450e6dff57034034804b24b384a1a81769ea8f /games | |
parent | 8789e3231e83ac381c4a8390785ad20183909ed7 (diff) |
games/nottetris2: Added (tetris clone with physics).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/nottetris2/README | 14 | ||||
-rw-r--r-- | games/nottetris2/doinst.sh | 3 | ||||
-rw-r--r-- | games/nottetris2/nottetris2.SlackBuild | 64 | ||||
-rw-r--r-- | games/nottetris2/nottetris2.desktop | 8 | ||||
-rw-r--r-- | games/nottetris2/nottetris2.info | 10 | ||||
-rw-r--r-- | games/nottetris2/nottetris2.png | bin | 0 -> 1297 bytes | |||
-rw-r--r-- | games/nottetris2/slack-desc | 19 |
7 files changed, 118 insertions, 0 deletions
diff --git a/games/nottetris2/README b/games/nottetris2/README new file mode 100644 index 0000000000000..bc2cd668e9e37 --- /dev/null +++ b/games/nottetris2/README @@ -0,0 +1,14 @@ +nottetris2 (tetris clone with physics) + +Not Tetris 2 is the spiritual successor of the classic Tetris mixed +with physics. The result is a fun spinoff in which blocks are no longer +bound to the usual grid. Blocks can be rotated and placed at any angle, +resulting in a complete mess if not careful. And with the newest cutting +edge technology, Not tetris 2 allows line clears when the lines are +sufficiently filled. The old mode is still available for play and is +now called Stack. + +Also in this version is a multiplayer mode that allows up to 2 players on +a single computer, with each having their own seperate Stack to fill. In +the Invade mode, players can bounce their blocks to their opponent's +side and save up on their own space. diff --git a/games/nottetris2/doinst.sh b/games/nottetris2/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/games/nottetris2/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/games/nottetris2/nottetris2.SlackBuild b/games/nottetris2/nottetris2.SlackBuild new file mode 100644 index 0000000000000..fe991f32b98b9 --- /dev/null +++ b/games/nottetris2/nottetris2.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Slackware build script for nottetris2 + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# Original download URL is: +# http://stabyourself.net/dl.php?file=nottetris2/nottetris2-source.zip +# I hosted a copy on my server with a more wget-friendly URL. + +# VERSION is just the modification date of the .love file. + +PRGNAM=nottetris2 +VERSION=${VERSION:-20110620} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +# filenames with spaces, tread carefully warrior! +PAYLOAD="Not Tetris 2.love" +README="Not Readme.txt" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +unzip $CWD/$PRGNAM-source.zip + +# no find/chmod boilerplate, everything installed with explicit permissions. + +mkdir -p $PKG/usr/games/ +echo '#!/usr/bin/env love-0.7.2' > $PKG/usr/games/$PRGNAM +cat "$PAYLOAD" >> $PKG/usr/games/$PRGNAM +chmod 755 $PKG/usr/games/$PRGNAM + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +install -m0644 -oroot -groot "$README" $PKG/usr/doc/$PRGNAM-$VERSION + +# .desktop written for this build +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +# icon is part of the title screen, diked out with gimp +mkdir -p $PKG/usr/share/pixmaps +cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/nottetris2/nottetris2.desktop b/games/nottetris2/nottetris2.desktop new file mode 100644 index 0000000000000..7a49dd781ecde --- /dev/null +++ b/games/nottetris2/nottetris2.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Not Tetris 2 +Comment=Tetris with physics +Exec=nottetris2 +Icon=nottetris2 +Terminal=false +Type=Application +Categories=Game;ArcadeGame; diff --git a/games/nottetris2/nottetris2.info b/games/nottetris2/nottetris2.info new file mode 100644 index 0000000000000..c85f0c3851cdd --- /dev/null +++ b/games/nottetris2/nottetris2.info @@ -0,0 +1,10 @@ +PRGNAM="nottetris2" +VERSION="20110620" +HOMEPAGE="http://stabyourself.net/nottetris2/" +DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/nottetris2-source.zip" +MD5SUM="35090d40c02139ea8b2f14c1b8de3f95" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="love-legacy072" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/nottetris2/nottetris2.png b/games/nottetris2/nottetris2.png Binary files differnew file mode 100644 index 0000000000000..1037e93e29c7d --- /dev/null +++ b/games/nottetris2/nottetris2.png diff --git a/games/nottetris2/slack-desc b/games/nottetris2/slack-desc new file mode 100644 index 0000000000000..bc7aba6b3ec6c --- /dev/null +++ b/games/nottetris2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +nottetris2: nottetris2 (tetris clone with physics) +nottetris2: +nottetris2: Not Tetris 2 is the spiritual successor of the classic Tetris mixed +nottetris2: with physics. The result is a fun spinoff in which blocks are no +nottetris2: longer bound to the usual grid. Blocks can be rotated and placed at +nottetris2: any angle, resulting in a complete mess if not careful. And with the +nottetris2: newest cutting edge technology, Not tetris 2 allows line clears when +nottetris2: the lines are sufficiently filled. The old mode is still available +nottetris2: for play and is now called Stack. +nottetris2: +nottetris2: |