summaryrefslogtreecommitdiff
path: root/games/pokerth/pokerth.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pokerth/pokerth.SlackBuild')
-rw-r--r--games/pokerth/pokerth.SlackBuild18
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