aboutsummaryrefslogtreecommitdiff
path: root/games/xskat/xskat.SlackBuild
diff options
context:
space:
mode:
authorJan Herrygers <janherrygers@dommel.be>2011-08-21 21:27:37 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-21 21:27:37 -0300
commit70b7572e8b8fb6185739ce2608b078636599b723 (patch)
tree0378e5b73ca1c9dd161da574249a52b476f1254c /games/xskat/xskat.SlackBuild
parent9edac5e33760d60c0780a84e0dc54e5b5033e280 (diff)
games/xskat: Updated e-mail maintainer + misc. cleanups.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 6a351924e0201..732b446be7260 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 \