aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2b8a92071868a..b83074ca92463 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 9f305900a2652..47ef0304d0309 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