diff options
author | pyllyukko <pyllyukko AT maimed dot org> | 2011-01-06 08:33:26 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-10 15:04:21 -0600 |
commit | 1a1a1324f8d13296cfe8aaf753069ad08408310c (patch) | |
tree | 666f2aa059e3f43d1e9bbcdec3a8c65eecb45aa0 /games | |
parent | 94609ef7d92ee5e4b346aaf729bf6760d1802ec2 (diff) | |
download | slackbuilds-1a1a1324f8d13296cfe8aaf753069ad08408310c.tar.gz |
games/adom: Added (a rogue-like game)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/adom/README | 16 | ||||
-rw-r--r-- | games/adom/adom.SlackBuild | 49 | ||||
-rw-r--r-- | games/adom/adom.info | 10 | ||||
-rw-r--r-- | games/adom/slack-desc | 19 |
4 files changed, 94 insertions, 0 deletions
diff --git a/games/adom/README b/games/adom/README new file mode 100644 index 0000000000..11a0c97287 --- /dev/null +++ b/games/adom/README @@ -0,0 +1,16 @@ +Ancient Domains of Mystery (ADOM for short) is a rogue-like game +which means that it is a single-user game featuring the exploration of +a dungeon complex. You control a fictional character described by +race, class, attributes, skills, and equipment. This fictional +character is trying to achieve a specific goal (see below) and succeed +in a difficult quest. To fulfill the quest, you have to explore +previously undiscovered tunnels and dungeons, fight hideous monsters, +uncover long forgotten secrets, and find treasures of all kind. + +During the game, you explore dungeon levels which are randomly +generated each game. You might also encounter certain special levels, +which present a particular challenge or are built around a certain +theme. + +IMPORTANT: If you are a first-time player you should read the 'How to +start' section of the manual. diff --git a/games/adom/adom.SlackBuild b/games/adom/adom.SlackBuild new file mode 100644 index 0000000000..118adb1602 --- /dev/null +++ b/games/adom/adom.SlackBuild @@ -0,0 +1,49 @@ +#!/bin/sh + +# Slackware packager script for ADOM +# Written by pyllyukko - pyllyukko AT maimed dot org +# +# ADOM ships as a binary, so this script just wraps it up +# in a clean .tgz package, ready to be installed. + +PRGNAM=adom +VERSION=${VERSION:-1.1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=i386 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +tar xvf $CWD/$PRGNAM-${VERSION//./}-elf.tar.gz +cd $PRGNAM +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 {} \; + +mkdir -pv ${PKG}/usr/games +cp -v adom ${PKG}/usr/games + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + adomfaq.txt manual.doc readme.1st \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Copy the slack-desc into ./install +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.${PKGTYPE:-tgz} diff --git a/games/adom/adom.info b/games/adom/adom.info new file mode 100644 index 0000000000..bcee49cce0 --- /dev/null +++ b/games/adom/adom.info @@ -0,0 +1,10 @@ +PRGNAM="adom" +VERSION="1.1.1" +HOMEPAGE="http://www.adom.de/" +DOWNLOAD="http://www.adom.de/adom/download/linux/adom-111-elf.tar.gz" +MD5SUM="801484ba7c7c03b3b999365bc45db053" +DOWNLOAD_x86_64="UNSUPPORTED" +MD5SUM_x86_64="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko AT maimed dot org" +APPROVED="Niels Horn" diff --git a/games/adom/slack-desc b/games/adom/slack-desc new file mode 100644 index 0000000000..1f3be98d40 --- /dev/null +++ b/games/adom/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------------------------------------------------------| +adom: ADOM (a rogue-like game) +adom: +adom: Ancient Domains of Mystery (ADOM for short) is a rogue-like game which +adom: means that it is a single-user game featuring the exploration of a +adom: dungeon complex. You control a fictional character described by race, +adom: class, attributes, skills, and equipment. +adom: +adom: ADOM is written by Thomas Biskup +adom: +adom: http://www.adom.de/ +adom: |