summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Domination/Domination.SlackBuild52
-rw-r--r--games/Domination/Domination.desktop8
-rw-r--r--games/Domination/Domination.info10
-rw-r--r--games/Domination/README1
-rw-r--r--games/Domination/doinst.sh4
-rw-r--r--games/Domination/slack-desc19
6 files changed, 94 insertions, 0 deletions
diff --git a/games/Domination/Domination.SlackBuild b/games/Domination/Domination.SlackBuild
new file mode 100644
index 0000000000..3eb63d85b9
--- /dev/null
+++ b/games/Domination/Domination.SlackBuild
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+# Slackware build script for Domination
+
+# Written by Roberto Neri <rneri@libero.it>
+
+PRGNAM=Domination
+VERSION=${VERSION:-1.1.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+mkdir -p $PKG/usr/share
+cd $PKG/usr/share
+unzip $CWD/${PRGNAM}_${VERSION}.zip
+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 {} \;
+
+find . -name "*.sh" -exec chmod 755 {} \;
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > \
+ $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BugTrack.txt ChangeLog.txt ReadMe.txt commands.txt gpl.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
+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/Domination/Domination.desktop b/games/Domination/Domination.desktop
new file mode 100644
index 0000000000..9b5bfd241e
--- /dev/null
+++ b/games/Domination/Domination.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Domination
+Comment=Domination Game
+Icon=/usr/share/Domination/resources/icon.png
+Exec=/usr/share/Domination/run.sh
+Path=/usr/share/Domination
+Categories=Game;
diff --git a/games/Domination/Domination.info b/games/Domination/Domination.info
new file mode 100644
index 0000000000..f11e001b4d
--- /dev/null
+++ b/games/Domination/Domination.info
@@ -0,0 +1,10 @@
+PRGNAM="Domination"
+VERSION="1.1.0.1"
+HOMEPAGE="http://domination.sourceforge.net"
+DOWNLOAD="http://downloads.sourceforge.net/domination/Domination_1.1.0.1.zip"
+MD5SUM="a35801e05b7cca9427abc6f1d4361a11"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Roberto Neri"
+EMAIL="rneri@libero.it"
+APPROVED="Niels Horn"
diff --git a/games/Domination/README b/games/Domination/README
new file mode 100644
index 0000000000..e4b216d3ac
--- /dev/null
+++ b/games/Domination/README
@@ -0,0 +1 @@
+Domination is a Java version of a well known strategy game.
diff --git a/games/Domination/doinst.sh b/games/Domination/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/games/Domination/doinst.sh
@@ -0,0 +1,4 @@
+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/Domination/slack-desc b/games/Domination/slack-desc
new file mode 100644
index 0000000000..c37022a736
--- /dev/null
+++ b/games/Domination/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------------------------------------------------------|
+Domination: Domination (World domination strategy game)
+Domination:
+Domination: Domination is a Java version of a well known strategy game.
+Domination:
+Domination:
+Domination:
+Domination:
+Domination:
+Domination:
+Domination: Homepage: http://domination.sourceforge.net
+Domination: