diff options
author | Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com> | 2015-12-11 07:24:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-11 07:24:06 +0700 |
commit | ce4c4ce4803029d7fa58169b50833d373473b10b (patch) | |
tree | a1a71afb7419f821d5c8f6ef3174108df3cc2867 | |
parent | b65109303bd2d22747a03b1fc2613ec0b63d134c (diff) |
games/wmquake: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/wmquake/wmquake.SlackBuild | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/games/wmquake/wmquake.SlackBuild b/games/wmquake/wmquake.SlackBuild index 086123b64e814..e31c4cf16e24d 100644 --- a/games/wmquake/wmquake.SlackBuild +++ b/games/wmquake/wmquake.SlackBuild @@ -29,6 +29,7 @@ PRGNAM=wmquake VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +GAMDIR=usr/share/games/quake/wmquake if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -74,20 +75,15 @@ find -L . \ make -# Makes shared game folder -mkdir -p $PKG/usr/share/games/quake/wmquake -mkdir -p $PKG/usr/games - -# Make it so games group can access folder -chgrp games $PKG/usr/share/games/quake/wmquake -chmod 774 $PKG/usr/share/games/quake/wmquake - # Copies over compiled binary -cp -a wmquake $PKG/usr/share/games/quake/wmquake +install -D -m 0755 $PRGNAM $PKG/$GAMDIR/$PRGNAM + +# Desktop and launcher related stuff +install -D -m 0755 $CWD/$PRGNAM $PKG/usr/games/$PRGNAM -# Copies over shell script to play with ease -cp -a $CWD/wmquake $PKG/usr/games -chmod 0755 $PKG/usr/games/wmquake +# Make it so the games group can access the folder +chgrp games $PKG/$GAMDIR +chmod 774 $PKG/$GAMDIR mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.INSTALL README.source README.wmquake $PKG/usr/doc/$PRGNAM-$VERSION |