summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:42 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:42 +0200
commit853f732888dbf9fb1b56489ac14d6e285282f3b3 (patch)
tree2e439f8ea987ecd6207be99dc66c02d39e18aa64
parenta2b53b9d5df5dd4fb5c6cd04110fd212d64abb7e (diff)
downloadslackbuilds-853f732888dbf9fb1b56489ac14d6e285282f3b3.tar.gz
games/tuxpuck: Removed from 13.0 repository
-rw-r--r--games/tuxpuck/README6
-rw-r--r--games/tuxpuck/slack-desc19
-rw-r--r--games/tuxpuck/tuxpuck.SlackBuild55
-rw-r--r--games/tuxpuck/tuxpuck.info8
-rw-r--r--games/tuxpuck/tuxpuck_0.8.2_fixes.diff100
5 files changed, 0 insertions, 188 deletions
diff --git a/games/tuxpuck/README b/games/tuxpuck/README
deleted file mode 100644
index ab7db8c856..0000000000
--- a/games/tuxpuck/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Tuxpuck - Airhockey with a Twist
-
-Tuxpuck is a clone of the Amiga/AtariST game "Shufflepuck Cafe"
-It is written in C and uses SDL. The player moves a pad around
-a board and tries to shoot down the puck through the opponents
-defense.
diff --git a/games/tuxpuck/slack-desc b/games/tuxpuck/slack-desc
deleted file mode 100644
index 3af58ff43d..0000000000
--- a/games/tuxpuck/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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-----------------------------------------------------|
-tuxpuck: Tuxpuck (Airhockey with a Twist)
-tuxpuck:
-tuxpuck: Tuxpuck is a clone of the Amiga/AtariST game "Shufflepuck Cafe"
-tuxpuck: It is written in C and uses SDL. The player moves a pad around
-tuxpuck: a board and tries to shoot down the puck through the opponents
-tuxpuck: defense.
-tuxpuck:
-tuxpuck: http://home.no.net/munsuun/tuxpuck/
-tuxpuck:
-tuxpuck:
-tuxpuck:
diff --git a/games/tuxpuck/tuxpuck.SlackBuild b/games/tuxpuck/tuxpuck.SlackBuild
deleted file mode 100644
index 716514bc8d..0000000000
--- a/games/tuxpuck/tuxpuck.SlackBuild
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tuxpuck
-# Written by Erik Hanson erik@slackbuilds.org
-
-PRGNAM=tuxpuck
-VERSION=0.8.2
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-3}
-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
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION || exit 1
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-# Fix man page and buffer overflow:
-patch -p1 < $CWD/tuxpuck_0.8.2_fixes.diff || exit 1
-
-# Use our SLKCFLAGS:
-for i in Makefile data/Makefile utils/Makefile ; do
- sed -i "s/-Wall/-Wall $SLKCFLAGS/" $i
-done
-
-make || exit 1
-make install DESTDIR=$PKG || exit 1
-strip --strip-unneeded $PKG/usr/bin/tuxpuck
-gzip -9 $PKG/usr/man/man6/tuxpuck.6
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp COPYING readme.txt $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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/games/tuxpuck/tuxpuck.info b/games/tuxpuck/tuxpuck.info
deleted file mode 100644
index af3e147a88..0000000000
--- a/games/tuxpuck/tuxpuck.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="tuxpuck"
-VERSION="0.8.2"
-HOMEPAGE="http://home.no.net/munsuun/tuxpuck/"
-DOWNLOAD="http://home.no.net/munsuun/tuxpuck/files/tuxpuck-0.8.2.tar.gz"
-MD5SUM="fc839abc2b1f3eafae397e1ed6487079"
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
diff --git a/games/tuxpuck/tuxpuck_0.8.2_fixes.diff b/games/tuxpuck/tuxpuck_0.8.2_fixes.diff
deleted file mode 100644
index 5979533bf6..0000000000
--- a/games/tuxpuck/tuxpuck_0.8.2_fixes.diff
+++ /dev/null
@@ -1,100 +0,0 @@
-diff -Naur tuxpuck-0.8.2.orig/Makefile tuxpuck-0.8.2/Makefile
---- tuxpuck-0.8.2.orig/Makefile 2008-06-17 00:04:17.000000000 -0500
-+++ tuxpuck-0.8.2/Makefile 2008-06-17 00:04:29.000000000 -0500
-@@ -55,4 +55,4 @@
- install -d $(DESTDIR)/usr/bin
- install -d $(DESTDIR)/usr/man/man6
- install -m755 $(NAME) $(DESTDIR)/usr/bin
-- install -m644 man/$(NAME).6.gz $(DESTDIR)/usr/man/man6
-+ install -m644 man/$(NAME).6 $(DESTDIR)/usr/man/man6
-diff -Naur tuxpuck-0.8.2.orig/data/Makefile tuxpuck-0.8.2/data/Makefile
---- tuxpuck-0.8.2.orig/data/Makefile 2008-06-17 00:04:17.000000000 -0500
-+++ tuxpuck-0.8.2/data/Makefile 2008-06-17 00:04:29.000000000 -0500
-@@ -1,5 +1,6 @@
- # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
- CC = gcc
-+CFLAGS += -g -Wall
- SOURCES = pad_png.c puck_png.c tux_png.c glass_png.c scoreboard_png.c \
- arcana_png.c mousebar_png.c title_jpg.c board_jpg.c \
- logo_jpg.c crash_ogg.c nock_ogg.c tux_apps_ogg.c \
-diff -Naur tuxpuck-0.8.2.orig/man/tuxpuck.6 tuxpuck-0.8.2/man/tuxpuck.6
---- tuxpuck-0.8.2.orig/man/tuxpuck.6 1969-12-31 18:00:00.000000000 -0600
-+++ tuxpuck-0.8.2/man/tuxpuck.6 2008-06-17 00:04:29.000000000 -0500
-@@ -0,0 +1,63 @@
-+.\" Hey, EMACS: -*- nroff -*-
-+.\" First parameter, NAME, should be all caps
-+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-+.\" other parameters are allowed: see man(7), man(1)
-+.TH "TUXPUCK" "6" "March 25, 2002"
-+.\" Please adjust this date whenever revising the manpage.
-+.\"
-+.\" Some roff macros, for reference:
-+.\" .nh disable hyphenation
-+.\" .hy enable hyphenation
-+.\" .ad l left justify
-+.\" .ad b justify to both left and right margins
-+.\" .nf disable filling
-+.\" .fi enable filling
-+.\" .br insert line break
-+.\" .sp <n> insert n+1 empty lines
-+.\" for manpage-specific macros, see man(7)
-+.SH NAME
-+tuxpuck \- "Shufflepuck Cafe" Clone
-+.SH SYNOPSIS
-+\fBtuxpuck\fP
-+.\" .RI [ options ] " files" ...
-+.SH DESCRIPTION
-+Anyone remember "Shufflepuck Cafe" for the Amiga/AtariST?
-+.br
-+I do.
-+.PP
-+\fBTuxPuck\fP is a shufflepuck game written in C using SDL. The
-+player moves a pad around a board and tries to shoot down the puck
-+through the opponents defense.
-+.SH OPTIONS
-+This program does not take any command line arguments.
-+.SH CONFIG FILE
-+The config file ".tuxpuckrc" is located in your home directory. It is
-+automatically written when the game quits.
-+.SH CONFIG FILE FORMAT
-+Just "\fBTAG\fP \fBVALUE\fP", each option seperated by Returns.
-+.SH CONFIG FILE OPTIONS
-+\fBSOUND\fP 1 = ON, 0 = OFF
-+.br
-+\fBFULLSCREEN\fP 1 = ON, 0 = OFF
-+.br
-+\fBMOUSESPEED\fP between 1 and 10, 1 slowest, 10 fastest
-+.SH IN-GAME CONTROL
-+\fBMOUSE\fP Move the pad
-+.br
-+\fBF\fP Toggle fullscreen mode
-+.br
-+\fBF1\fP Toggle sound
-+.br
-+\fBF5\fP Decrease mouse speed
-+.br
-+\fBF6\fP Increase mouse speed
-+.\" .SH SEE ALSO
-+.\" .BR bar (1),
-+.\" .BR baz (1).
-+.\" .br
-+.\" The programs are documented fully by
-+.\" .IR "The Rise and Fall of a Fooish Bar" ,
-+.\" available via the Info system.
-+.SH AUTHOR
-+The TuxPuck game was written by Jacob "noork" Kroon, <d00jkr@efd.lth.se>.
-+This manual page was written by Sven Velt <sven@velt.de>.
-diff -Naur tuxpuck-0.8.2.orig/tuxpuck.c tuxpuck-0.8.2/tuxpuck.c
---- tuxpuck-0.8.2.orig/tuxpuck.c 2008-06-17 00:04:17.000000000 -0500
-+++ tuxpuck-0.8.2/tuxpuck.c 2008-06-17 00:04:29.000000000 -0500
-@@ -250,7 +250,9 @@
- _settings->mouse_speed = 5;
- #ifndef windows
- homeDir = getenv("HOME");
-- sprintf(_settings_file, "%s/.tuxpuckrc", homeDir);
-+ /* Buffer overflow fixed!
-+ * sprintf(_settings_file, "%s/.tuxpuckrc", homeDir); */
-+ snprintf(_settings_file, sizeof(_settings_file)-1, "%s/.tuxpuckrc", homeDir);
- #endif
- _read_settings();
- audio_set_mute(!_settings->sound);