diff options
author | MLanden <mlanden2009@gmail.com> | 2011-06-26 00:40:29 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-06-26 00:40:29 -0300 |
commit | c405e0b564e211c61f156c1f795263caf61dff34 (patch) | |
tree | 38c90f93ef50e9833fcc81865cc3e0a314dbfcfb /games | |
parent | 6edc682a8c9a50c1061775d99600aee87a080f67 (diff) |
games/zaz: Added (puzzle game)
Diffstat (limited to 'games')
-rw-r--r-- | games/zaz/README | 9 | ||||
-rw-r--r-- | games/zaz/doinst.sh | 3 | ||||
-rw-r--r-- | games/zaz/slack-desc | 20 | ||||
-rw-r--r-- | games/zaz/zaz.SlackBuild | 93 | ||||
-rw-r--r-- | games/zaz/zaz.info | 10 |
5 files changed, 135 insertions, 0 deletions
diff --git a/games/zaz/README b/games/zaz/README new file mode 100644 index 0000000000000..dac8e01d4b298 --- /dev/null +++ b/games/zaz/README @@ -0,0 +1,9 @@ +Zaz is a game where the player has to get rid of incoming balls by +arranging them in triplets. The idea of the game is loosely based on games +like Luxor, Zuma and Puzzle Bobble. The twists that make Zaz stand out +from other games of this type are that the balls have to be picked from +the path (insted of being randomly assigned for the player) and that the +player's "vehicle" is also attached to a path which is different from +level to level. + +This requires ftgl. diff --git a/games/zaz/doinst.sh b/games/zaz/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/games/zaz/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/zaz/slack-desc b/games/zaz/slack-desc new file mode 100644 index 0000000000000..51162e03eae8d --- /dev/null +++ b/games/zaz/slack-desc @@ -0,0 +1,20 @@ +# 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 ':'. + + |-----handy-ruler------------------------------------------------------| +zaz: zaz (puzzle game) +zaz: +zaz: Zaz ain't Z*** is a puzzle game where the player has to get rid of +zaz: incoming balls by arranging them in triplets Because hackers too need +zaz: to play with balls +zaz: +zaz: Homepage: http://zaz.sourceforge.net +zaz: +zaz: +zaz: +zaz: + diff --git a/games/zaz/zaz.SlackBuild b/games/zaz/zaz.SlackBuild new file mode 100644 index 0000000000000..2528002998f84 --- /dev/null +++ b/games/zaz/zaz.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +# Slackware build script for zaz +# +# Copyright 2011 MLanden +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 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. + +PRGNAM=zaz +VERSION=1.0.0 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R a-s,u+rw,go+r-w . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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/zaz/zaz.info b/games/zaz/zaz.info new file mode 100644 index 0000000000000..b6810acd60016 --- /dev/null +++ b/games/zaz/zaz.info @@ -0,0 +1,10 @@ +PRGNAM="zaz" +VERSION="1.0.0" +HOMEPAGE="http://zaz.sourceforge.net" +DOWNLOAD="http://downloads.sourceforge.net/zaz/zaz-1.0.0.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="d92a043780d06c699da0ba04aab32a6b" +MD5SUM_x86_64="" +MAINTAINER="MLanden" +EMAIL="mlanden2009@gmail.com" +APPROVED="Niels Horn" |