diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2014-03-06 08:06:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-06 08:12:02 +0700 |
commit | dd7eb1d21c8a1919e2b2d7c3f04374ec59ca7f45 (patch) | |
tree | ab9c87cc017352687abd39c053964bb849a78f20 /games/pokerth/pokerth.SlackBuild | |
parent | e94b934d15e2abb7c411e6b35a0821765078ae39 (diff) | |
download | slackbuilds-dd7eb1d21c8a1919e2b2d7c3f04374ec59ca7f45.tar.gz |
games/pokerth: Updated for version 1.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pokerth/pokerth.SlackBuild')
-rw-r--r-- | games/pokerth/pokerth.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild index 678c17e378..d247a63be9 100644 --- a/games/pokerth/pokerth.SlackBuild +++ b/games/pokerth/pokerth.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # SlackBuild script for "PokerTH". -# Copyright 2009-2013 Marcel Saegebarth <marc@mos6581.de> +# Copyright 2009-2014 Marcel Saegebarth <marc@mos6581.de> # Copyright 2012 Laurent Nardou <l.nardou@wanadoo.fr> # All rights reserved. # @@ -26,8 +26,8 @@ PRGNAM=pokerth SRCNAM=PokerTH -VERSION=1.0.1 -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,7 +51,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on some errors. +set -e rm -rf $PKG rm -rf $TMP/$SRCNAM-$VERSION-src @@ -61,17 +61,17 @@ tar xvf $CWD/$SRCNAM-$VERSION-src.tar.bz2 cd $SRCNAM-$VERSION-src chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # The headers to which this file points have moved in the newer libircclient... +# Thanks ponce. sed -i "s|libircclient/||" src/net/common/ircthread.cpp qmake pokerth.pro -# We'd need to sed the CFLAGS in, but it should be fine as is... make #CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG INSTALL_ROOT=$PKG |