mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/adom: Added (a rogue-like game)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
94609ef7d9
commit
1a1a1324f8
4 changed files with 94 additions and 0 deletions
16
games/adom/README
Normal file
16
games/adom/README
Normal file
|
@ -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.
|
49
games/adom/adom.SlackBuild
Normal file
49
games/adom/adom.SlackBuild
Normal file
|
@ -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}
|
10
games/adom/adom.info
Normal file
10
games/adom/adom.info
Normal file
|
@ -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"
|
19
games/adom/slack-desc
Normal file
19
games/adom/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue