summaryrefslogtreecommitdiff
path: root/games/dreamchess/dreamchess.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dreamchess/dreamchess.SlackBuild')
-rw-r--r--games/dreamchess/dreamchess.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/dreamchess/dreamchess.SlackBuild b/games/dreamchess/dreamchess.SlackBuild
index 77b400831c..de58808058 100644
--- a/games/dreamchess/dreamchess.SlackBuild
+++ b/games/dreamchess/dreamchess.SlackBuild
@@ -3,18 +3,17 @@
# Slackware build script for dreamchess
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Maintained by Erik Hanson <erik@slackbuilds.org>
PRGNAM=dreamchess
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
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
@@ -65,10 +64,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 desktop/$PRGNAM.desktop $PKG/usr/share/applications/