mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/robotfindskitten: Manually install necessary .nki file.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
a7123908de
commit
b4271e8333
3 changed files with 22 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue