diff options
author | Jan Herrygers <janherrygers@skynet.be> | 2010-05-13 00:27:37 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:27:37 +0200 |
commit | 9a070474a3c6689e65ab06fcf496b812ebf727b8 (patch) | |
tree | 543c2974b02cecb812572d4b7db1ed39ff3b3397 /games/xskat/xskat.SlackBuild | |
parent | 1242e6c888220c4f1a8101e52133382805108992 (diff) |
games/xskat: Updated for version 4.0
Diffstat (limited to 'games/xskat/xskat.SlackBuild')
-rw-r--r-- | games/xskat/xskat.SlackBuild | 16 |
1 files changed, 12 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} |