aboutsummaryrefslogtreecommitdiff
path: root/games/robotfindskitten
diff options
context:
space:
mode:
authorJosiah Boothby <josiahb@gmail.com>2013-04-23 20:47:17 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:28:13 -0300
commitb4271e83336dd9af74c9c2500275b750a2697c7e (patch)
treef88a6ff4a7791f4dc63f486f174b122c69126a32 /games/robotfindskitten
parenta7123908de9c3623c13a9c5b6a975e32f63b3328 (diff)
games/robotfindskitten: Manually install necessary .nki file.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/robotfindskitten')
-rw-r--r--games/robotfindskitten/robotfindskitten.SlackBuild12
-rw-r--r--games/robotfindskitten/robotfindskitten.info3
-rw-r--r--games/robotfindskitten/slack-desc26
3 files changed, 22 insertions, 19 deletions
diff --git a/games/robotfindskitten/robotfindskitten.SlackBuild b/games/robotfindskitten/robotfindskitten.SlackBuild
index 0216e204dbfa4..296e79939e5af 100644
--- a/games/robotfindskitten/robotfindskitten.SlackBuild
+++ b/games/robotfindskitten/robotfindskitten.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=robotfindskitten
VERSION=${VERSION:-2.7182818.701}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -81,11 +79,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+# make install seems to fail to install the vanilla.nki file to an expected place, so:
+mkdir -p $PKG/usr/share/games/$PRGNAM
+cat ./nki/vanilla.nki > $PKG/usr/share/games/$PRGNAM/vanilla.nki
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/games/robotfindskitten/robotfindskitten.info b/games/robotfindskitten/robotfindskitten.info
index 857097c109214..6ed234cf2ba37 100644
--- a/games/robotfindskitten/robotfindskitten.info
+++ b/games/robotfindskitten/robotfindskitten.info
@@ -1,10 +1,11 @@
PRGNAM="robotfindskitten"
VERSION="2.7182818.701"
HOMEPAGE="http://robotfindskitten.org"
-DOWNLOAD="http://downloads.sourceforge.net/rfk/robotfindskitten-2.7182818.701.tar.gz"
+DOWNLOAD="http://robotfindskitten.org/download/POSIX/robotfindskitten-2.7182818.701.tar.gz"
MD5SUM="d70ba30874a1f51eacd8a9a2cf4efdba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Josiah Boothby"
EMAIL="josiahb@gmail.com"
+
diff --git a/games/robotfindskitten/slack-desc b/games/robotfindskitten/slack-desc
index 7af6017e7310e..d4e52427a552e 100644
--- a/games/robotfindskitten/slack-desc
+++ b/games/robotfindskitten/slack-desc
@@ -1,19 +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 ':'.
+# 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------------------------------------------------------|
robotfindskitten: robotfindskitten (a Zen simulation game)
-robotfindskitten:
-robotfindskitten: In this game, you are robot (#). Your job is to find kitten. This
+robotfindskitten:
+robotfindskitten: In this game, you are robot (#). Your job is to find kitten. This
robotfindskitten: task is complicated by the existence of various things which are not
robotfindskitten: kitten. Robot must touch items to determine if they are kitten or
-robotfindskitten: not. The game ends when robotfindskitten.
-robotfindskitten:
-robotfindskitten:
-robotfindskitten:
-robotfindskitten:
-robotfindskitten:
+robotfindskitten: not. The game ends when robotfindskitten.
+robotfindskitten:
+robotfindskitten:
+robotfindskitten:
+robotfindskitten:
+robotfindskitten: