diff options
Diffstat (limited to 'games/ostrichriders/ostrichriders.SlackBuild')
-rw-r--r-- | games/ostrichriders/ostrichriders.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/ostrichriders/ostrichriders.SlackBuild b/games/ostrichriders/ostrichriders.SlackBuild index 67824ba46b89..288c3c35215d 100644 --- a/games/ostrichriders/ostrichriders.SlackBuild +++ b/games/ostrichriders/ostrichriders.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=ostrichriders -VERSION=${VERSION:-0.6.3} +VERSION=${VERSION:-0.6.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,11 +58,11 @@ rm -f data/mods/sandbox/media/Thumbs.db \ data/mods/*/"scores (copie).dat" # SBo's SFML doesn't ship a .pc file for pkg-config, so do it the hard -# way. Also, BINDIR and prefix are used in a nonstandard way. -Wl,-s -# strips the binary. +# way. -Wl,-s strips the binary. -make prefix=$PKG \ - BINDIR=$PKG/usr/games \ +make PREFIX=/usr \ + BINDIR=/usr/games \ + DESTDIR=$PKG \ ADD_CFLAGS="$SLKCFLAGS" \ ADD_LDFLAGS="-Wl,-s \ -L/usr/lib$LIBDIRSUFFIX \ @@ -74,13 +74,9 @@ make prefix=$PKG \ all \ install -# Binary is named in MixedCase, symlink to lowercase for convenience. -ln -s OstrichRiders $PKG/usr/games/$PRGNAM - # man page written for this build (if nothing else, I need the practice). mkdir -p $PKG/usr/man/man6 gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz -ln -s $PRGNAM.6.gz $PKG/usr/man/man6/OstrichRiders.6.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENCE README html/* $PKG/usr/doc/$PRGNAM-$VERSION |