From b4271e83336dd9af74c9c2500275b750a2697c7e Mon Sep 17 00:00:00 2001 From: Josiah Boothby Date: Tue, 23 Apr 2013 20:47:17 -0400 Subject: games/robotfindskitten: Manually install necessary .nki file. Signed-off-by: dsomero --- games/robotfindskitten/robotfindskitten.SlackBuild | 12 +++++----- games/robotfindskitten/robotfindskitten.info | 3 ++- games/robotfindskitten/slack-desc | 26 +++++++++++----------- 3 files changed, 22 insertions(+), 19 deletions(-) (limited to 'games/robotfindskitten') diff --git a/games/robotfindskitten/robotfindskitten.SlackBuild b/games/robotfindskitten/robotfindskitten.SlackBuild index 0216e204db..296e79939e 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 857097c109..6ed234cf2b 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 7af6017e73..d4e52427a5 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: -- cgit v1.2.3