aboutsummaryrefslogtreecommitdiff
path: root/games/xskat
diff options
context:
space:
mode:
authorJan Herrygers <janherrygers@skynet.be>2010-05-13 00:27:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:37 +0200
commit9a070474a3c6689e65ab06fcf496b812ebf727b8 (patch)
tree543c2974b02cecb812572d4b7db1ed39ff3b3397 /games/xskat
parent1242e6c888220c4f1a8101e52133382805108992 (diff)
games/xskat: Updated for version 4.0
Diffstat (limited to 'games/xskat')
-rw-r--r--games/xskat/xskat.SlackBuild16
-rw-r--r--games/xskat/xskat.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild
index 2b8a92071868..b83074ca9246 100644
--- a/games/xskat/xskat.SlackBuild
+++ b/games/xskat/xskat.SlackBuild
@@ -38,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -70,8 +73,10 @@ mkdir -p $PKG/usr/man/de/man1/
mv $PKG/usr/man/man1/xskat-de.1x $PKG/usr/man/de/man1/xskat.1x
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
# Compress man pages
@@ -82,11 +87,14 @@ mv $PKG/usr/man/man1/xskat-de.1x $PKG/usr/man/de/man1/xskat.1x
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES CHANGES-de INSTALL INSTALL-de README README-de README.IRC README.IRC-de $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGES CHANGES-de INSTALL INSTALL-de README README-de \
+ README.IRC README.IRC-de \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/xskat/xskat.info b/games/xskat/xskat.info
index 9f305900a265..47ef0304d030 100644
--- a/games/xskat/xskat.info
+++ b/games/xskat/xskat.info
@@ -2,7 +2,9 @@ PRGNAM="xskat"
VERSION="4.0"
HOMEPAGE="http://www.xskat.de/xskat.html"
DOWNLOAD="http://www.xskat.de/xskat-4.0.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="6744cea48a890771736b75083e7ea2b5"
+MD5SUM_x86_64=""
MAINTAINER="Jan Herrygers"
EMAIL="janherrygers@skynet.be"
APPROVED="David Somero" \ No newline at end of file