games/xskat: Updated for version 4.0

This commit is contained in:
Jan Herrygers 2010-05-13 00:27:37 +02:00 committed by David Somero
parent 1242e6c888
commit 9a070474a3
2 changed files with 14 additions and 4 deletions

View File

@ -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}

View File

@ -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"