summaryrefslogtreecommitdiff
path: root/games/xskat/xskat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xskat/xskat.SlackBuild')
-rw-r--r--games/xskat/xskat.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild
index 6a351924e0..732b446be7 100644
--- a/games/xskat/xskat.SlackBuild
+++ b/games/xskat/xskat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xskat
-# Written by Jan Herrygers - janherrygers at skynet dot be
+# Written by Jan Herrygers - janherrygers at dommel dot be
# Slackbuild for xskat version 4.0 21/08/2008
# Copyright 2008 Jan Herrygers
@@ -30,12 +30,10 @@ VERSION=${VERSION:-4.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
@@ -76,7 +74,7 @@ find . \
./configure
-make
+make CCOPTIONS="$SLKCFLAGS"
make install DESTDIR=$PKG
make install.man DESTDIR=$PKG
@@ -87,12 +85,8 @@ mv $PKG/usr/man/man1/xskat-de.1x $PKG/usr/man/de/man1/xskat.1x
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Compress man pages
-( 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/doc/$PRGNAM-$VERSION
cp -a \