summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-10-10 12:28:04 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-10 12:28:04 -0500
commitf5fdea9bb70cc8950ab3e5c1ff0437bc7351cf52 (patch)
tree5f06beb650d526cdeceba7a40401ba8ad22a42a4 /games
parentc195c97d481925997acdcc32791124153554e0da (diff)
downloadslackbuilds-f5fdea9bb70cc8950ab3e5c1ff0437bc7351cf52.tar.gz
games/tomenet: Removed per maintainer request
There is a native linux client for the game now, maintained by the upstream folks, so this is obsolete. Thanks, David Melik :) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/tomenet/README23
-rw-r--r--games/tomenet/angband.pngbin603 -> 0 bytes
-rw-r--r--games/tomenet/doinst.sh4
-rw-r--r--games/tomenet/slack-desc19
-rw-r--r--games/tomenet/tomenet.SlackBuild105
-rw-r--r--games/tomenet/tomenet.desktop8
-rw-r--r--games/tomenet/tomenet.info10
-rw-r--r--games/tomenet/tomenet.sh43
8 files changed, 0 insertions, 212 deletions
diff --git a/games/tomenet/README b/games/tomenet/README
deleted file mode 100644
index 1112f283e2..0000000000
--- a/games/tomenet/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Tales of Middle Earth Multiplayer is a fantasy adventure game
-
-TomeNET is a multiplayer fantasy dungeon exploration game based on the works of
-J.R.R. Tolkien. It is a game that emphasizes intricate, challenging, and varied
-gameplay over graphics. Hundreds of different monsters in randomly-generated,
-unpredictable dungeons will strive to slay you by various means.
-
-The game is installed in /usr/share/games/tomenet, where the configuration
-files are. The SlackBuild links the clients (for playing) into /usr/games and
-the server and administration utilities into /usr/bin. Slackware already puts
-these places in your path, so you can type the name of the programs anywhere
-and run them. The client is called tomenet (for the X Window system).
-
-The server and administration utliities are:
- tomenetd
- tomenetd.evilmeta (for joining the list of public servers)
- tomenetd.accedit (to edit user accounts.)
- tomenet.console (somewhat of a client that is an admin tool.)
-
-Just type in the client name and it will give you a list of servers. If you
-want to run one, type tomenetd and--if you want it public--tomenetd.evilmeta.
-The tomenet.accedit will let you set what type of account (normal, Dungeon
-Master, admin) specific users get who connect.
diff --git a/games/tomenet/angband.png b/games/tomenet/angband.png
deleted file mode 100644
index ee931a91ee..0000000000
--- a/games/tomenet/angband.png
+++ /dev/null
Binary files differ
diff --git a/games/tomenet/doinst.sh b/games/tomenet/doinst.sh
deleted file mode 100644
index ac2793c959..0000000000
--- a/games/tomenet/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-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/tomenet/slack-desc b/games/tomenet/slack-desc
deleted file mode 100644
index 9fe1c070f5..0000000000
--- a/games/tomenet/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----------------------------------------------------|
-tomenet: tomenet (multiplayerfantasy adventure game)
-tomenet:
-tomenet: TomeNET is a multiplayer fantasy dungeon exploration game based on
-tomenet: the works of J.R.R. Tolkien. It is a game that emphasizes intricate,
-tomenet: challenging, and varied gameplay over graphics. Hundreds of
-tomenet: different monsters in randomly-generated, unpredictable dungeons
-tomenet: will strive to slay you by various means
-tomenet:
-tomenet:
-tomenet: Homepage: http://www.t-o-m-e.net
-tomenet: \ No newline at end of file
diff --git a/games/tomenet/tomenet.SlackBuild b/games/tomenet/tomenet.SlackBuild
deleted file mode 100644
index 30694a9cbe..0000000000
--- a/games/tomenet/tomenet.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Tomenet
-
-# David Melik <dchmelik @ gmail dot com>
-# based on a Tome Slackbuild that is somewhat based on
-# Marshall Scott's Angband SlackBuild.
-
-PRGNAM=tomenet
-VERSION=${VERSION:-4.4.2}
-SRC_VERSION=${SRC_VERSION:-4.4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) 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
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-cd src
-cp makefile Makefile
-make
-make install
-
-#the real 'make install:'
-mkdir -p $PKG/usr/share/games
-mkdir -p $PKG/usr/games
-#get rid of extra files in the build folder to install it after
-cd ../..
-rm $PRGNAM-$VERSION/src/server/*.o
-rm $PRGNAM-$VERSION/src/common/*.o
-rm $PRGNAM-$VERSION/src/server/lua/*.o
-rm $PRGNAM-$VERSION/src/client/*.o
-#put the files in place
-mv $PRGNAM-$VERSION $PKG/usr/share/games/$PRGNAM
-cp $CWD/tomenet.sh $PKG/usr/share/games/tomenet
-chmod a+x $PKG/usr/share/games/tomenet/tomenet.sh
-cd $PKG/usr/games
-ln -fs /usr/share/games/tomenet/tomenet.sh tomenet
-ln -fs /usr/share/games/tomenet/tomenet.sh tomenet.console
-ln -fs /usr/share/games/tomenet/tomenet.sh tomenet.server
-ln -fs /usr/share/games/tomenet/tomenet.sh accedit
-ln -fs /usr/share/games/tomenet/tomenet.sh evilmeta
-
-# We'll kill the "delete.me" files in the package; probably these are left so
-# that lesser package management tools don't choke on empty directories
-find $PKG -name "delete.me" -exec rm -f {} \; || true
-
-mkdir -p $PKG/usr/share/pixmaps
-mkdir -p $PKG/usr/share/applications
-cp $CWD/angband.png $PKG/usr/share/pixmaps
-cp $CWD/tomenet.desktop $PKG/usr/share/applications
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd $PKG/usr/share/games/tomenet
-cp -a changes.txt ChangeLog TomeNET-Guide.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/tomenet.info > $PKG/usr/doc/$PRGNAM-$VERSION/tomenet.info
-
-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/tomenet/tomenet.desktop b/games/tomenet/tomenet.desktop
deleted file mode 100644
index 045afbc220..0000000000
--- a/games/tomenet/tomenet.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=TomeNET
-Comment=Dive into Arda and defeat Morgoth
-Exec=tomenet
-Terminal=true
-Type=Application
-Categories=Game;
-Icon=angband
diff --git a/games/tomenet/tomenet.info b/games/tomenet/tomenet.info
deleted file mode 100644
index f7f218e6b5..0000000000
--- a/games/tomenet/tomenet.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tomenet"
-VERSION="4.4.2"
-HOMEPAGE="http://www.t-o-m-e.net"
-DOWNLOAD="http://koti.mbnet.fi/mikaelh/tomenet/downloads/tomenet-4.4.2.tar.bz2"
-MD5SUM="2183daad4c4a7187dad78af287eaf95e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="David Melik"
-EMAIL="dchmelik@gmail.com"
-APPROVED="dsomero"
diff --git a/games/tomenet/tomenet.sh b/games/tomenet/tomenet.sh
deleted file mode 100644
index 464bb88517..0000000000
--- a/games/tomenet/tomenet.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-GAMES_TOMENET=/usr/share/games/tomenet
-
-if [ ! -e ${HOME}/.tomenet ]; then
- mkdir -p ${HOME}/.tomenet
-
- # Make a copy of the lib directory for the user
- cp -R ${GAMES_TOMENET}/lib ${HOME}/.tomenet/
-
- # Server configuration files
- cp ${GAMES_TOMENET}/tomenet.cfg ${GAMES_TOMENET}/forbidlist ${HOME}/.tomenet/
-
- # Create an account file
- touch ${HOME}/.tomenet/tomenet.acc
-
- # Create links for running the server in ${HOME}/.tomenet
- ln -s ${GAMES_TOMENET}/tomenet.server ${HOME}/.tomenet/tomenet.server
- ln -s ${GAMES_TOMENET}/evilmeta ${HOME}/.tomenet/evilmeta
-fi
-
-cd ${HOME}/.tomenet
-
-# Point $TOMENET_PATH to the local lib directory
-export TOMENET_PATH=${HOME}/.tomenet/lib
-
-case $(basename $0) in
- tomenet)
- exec ${GAMES_TOMENET}/tomenet "$@"
- ;;
- tomnet.console)
- exec ${GAMES_TOMENET}/tomenet.console "$@"
- ;;
- tomenet.server)
- exec ${GAMES_TOMENET}/tomenet.server "$@"
- ;;
- accedit)
- exec ${GAMES_TOMENET}/accedit "$@"
- ;;
- evilmeta)
- exec ${GAMES_TOMENET}/evilmeta "$@"
- ;;
- esac \ No newline at end of file