diff options
-rw-r--r-- | games/brickout/README | 2 | ||||
-rw-r--r-- | games/brickout/brickout.6 | 35 | ||||
-rw-r--r-- | games/brickout/brickout.SlackBuild | 81 | ||||
-rw-r--r-- | games/brickout/brickout.desktop | 8 | ||||
-rw-r--r-- | games/brickout/brickout.info | 8 | ||||
-rw-r--r-- | games/brickout/doinst.sh | 3 | ||||
-rw-r--r-- | games/brickout/slack-desc | 19 |
7 files changed, 156 insertions, 0 deletions
diff --git a/games/brickout/README b/games/brickout/README new file mode 100644 index 0000000000..6c95edfdea --- /dev/null +++ b/games/brickout/README @@ -0,0 +1,2 @@ +"Brickout" is a ball-and-paddle game where it's your objective to destroy +bricks on the screen. Gameplay is similar to "Breakout" and "Arkanoid". diff --git a/games/brickout/brickout.6 b/games/brickout/brickout.6 new file mode 100644 index 0000000000..041165d767 --- /dev/null +++ b/games/brickout/brickout.6 @@ -0,0 +1,35 @@ +.TH BRICKOUT "6" "April 2009" "New Breed Software" "Games" +.SH NAME +brickout \- Breakout\-style arcade game +.SH SYNOPSIS +.B brickout +.SH DESCRIPTION +"Brickout" is a ball-and-paddle game where it's your objective to destroy +bricks on the screen. Gameplay is similar to "Breakout" and "Arkanoid". +.P +brickout takes no command\-line options. +.P +Use the mouse to control the paddle during gameplay. +.SH FILES +.TP +\fB/usr/share/brickout/\fR +game data (images, music, sound) +.SH AUTHORS +Bill Kendrick (New Breed Software) +.P +New Breed Software's web site is located at +.br +.nh +\fBhttp://www.newbreedsoftware.com/\fR +.hy +.P +Man page created by B. Watson for SlackBuilds.org project (but others +are free to use it) +.SH COPYRIGHT +Copyright \(co 2002, New Breed Software +.P +Brickout is free software; you can redistribute it +and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; +either version 2 of the License, or (at your option) any +later version. diff --git a/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild new file mode 100644 index 0000000000..09583821c2 --- /dev/null +++ b/games/brickout/brickout.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for brickout + +# Written by B. Watson (yalhcru@gmail.com) + +# Modified by the SlackBuilds.org project + +PRGNAM=brickout +SRCVER=${SRCVER:-2002.06.09} +VERSION=$( echo $SRCVER | sed 's/\.//g' ) +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER +chown -R root:root . +chmod -R a-s,u+w,go+r-w . + +# This is fugly. Apologies. +make \ + TARGET=$PRGNAM.sdl $PRGNAM.sdl \ + PROGPREFIX= \ + XLIB="$(sdl-config --libs) -lSDL_mixer" \ + LIBDIR= \ + EXTRA_CFLAGS="$SLKCFLAGS -DUSE_SDL $(sdl-config --cflags)" \ + IMAGEDIR=/usr/share/$PRGNAM/images/ \ + SOUNDDIR=/usr/share/$PRGNAM/sounds/ \ + MUSICDIR=/usr/share/$PRGNAM/music/ \ + THE_IMAGES= + +# No 'make install' target in Makefile, do it ourselves. +mkdir -p $PKG/usr/games +install -m0755 -oroot -groot $PRGNAM.sdl $PKG/usr/games/$PRGNAM + +mkdir -p $PKG/usr/share/$PRGNAM +cp -r images-sdl $PKG/usr/share/$PRGNAM/images +cp -r sounds $PKG/usr/share/$PRGNAM/sounds +cp -r music $PKG/usr/share/$PRGNAM/music +find $PKG/usr/share/$PRGNAM -type d | xargs chmod 0755 +find $PKG/usr/share/$PRGNAM -type f | xargs chmod 0644 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/man/man6 +gzip -9c $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz + +mkdir -p $PKG/usr/share/pixmaps +cp $PRGNAM.png $PKG/usr/share/pixmaps + +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +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.tgz diff --git a/games/brickout/brickout.desktop b/games/brickout/brickout.desktop new file mode 100644 index 0000000000..706bf6e027 --- /dev/null +++ b/games/brickout/brickout.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Brickout +Exec=brickout +Type=Application +Icon=brickout +GenericName=Brickout Game +Categories=Game;Arcade; diff --git a/games/brickout/brickout.info b/games/brickout/brickout.info new file mode 100644 index 0000000000..31b381f14b --- /dev/null +++ b/games/brickout/brickout.info @@ -0,0 +1,8 @@ +PRGNAM="brickout" +VERSION="20020609" +HOMEPAGE="http://www.newbreedsoftware.com/brickout/" +DOWNLOAD="ftp://ftp.tuxpaint.org/unix/agenda/brickout/src/brickout-2002.06.09.tar.gz" +MD5SUM="f191a5658e4262e85499e5b69433af89" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="dsomero" diff --git a/games/brickout/doinst.sh b/games/brickout/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/games/brickout/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/brickout/slack-desc b/games/brickout/slack-desc new file mode 100644 index 0000000000..575520472c --- /dev/null +++ b/games/brickout/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 ':'. + + |-----handy-ruler------------------------------------------------------| +brickout: brickout (ball-and-paddle game) +brickout: +brickout: "Brickout" is a ball-and-paddle game where it's your objective to +brickout: destroy bricks on the screen. Gameplay is similar to "Breakout" and +brickout: "Arkanoid". +brickout: +brickout: +brickout: +brickout: +brickout: +brickout: |