summaryrefslogtreecommitdiff
path: root/community/pokerth
diff options
context:
space:
mode:
Diffstat (limited to 'community/pokerth')
-rw-r--r--community/pokerth/PKGBUILD20
-rw-r--r--community/pokerth/pokerth_game.pro.patch18
2 files changed, 8 insertions, 30 deletions
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index 3b544b250..a4c35b662 100644
--- a/community/pokerth/PKGBUILD
+++ b/community/pokerth/PKGBUILD
@@ -1,13 +1,14 @@
-# $Id: PKGBUILD 87656 2013-04-05 07:06:16Z cinelli $
-# Maintainer: Mateusz Herych <heniekk@gmail.com>
-# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# $Id: PKGBUILD 88844 2013-04-23 22:37:15Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>
pkgname=pokerth
_realname=PokerTH
-pkgver=1.0
-pkgrel=6
+pkgver=1.0.1
+pkgrel=1
pkgdesc="Poker game written in C++/QT4"
arch=('i686' 'x86_64')
url="http://www.pokerth.net/"
@@ -15,17 +16,12 @@ license=('GPL' 'custom')
depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf'
'qt4' 'sdl_mixer' 'libircclient' 'tinyxml')
makedepends=('boost')
-source=("http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2"
- "pokerth_game.pro.patch")
-md5sums=('1d8686b8968475cfc76e873a17a53efc'
- '967b79b37407be5a68e6a864c2b7828a')
+source=("http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2")
+md5sums=('c6dcf0ed68ab50af91371348ffad5d00')
build() {
cd "$srcdir/$_realname-$pkgver-src"
-
- sed -i '31 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
- patch -Np2 < "$srcdir/pokerth_game.pro.patch"
qmake-qt4 "$pkgname.pro"
make
}
diff --git a/community/pokerth/pokerth_game.pro.patch b/community/pokerth/pokerth_game.pro.patch
deleted file mode 100644
index e19ba3bcb..000000000
--- a/community/pokerth/pokerth_game.pro.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/PokerTH-1.0-src/pokerth_game.pro 2013-01-01 07:23:55.596627882 -0800
-+++ pokerth_game.pro 2013-04-04 11:14:16.583877931 -0700
-@@ -3,7 +3,6 @@
- isEmpty( PREFIX ){
- PREFIX =/usr
- }
--
- TEMPLATE = app
- CODECFORSRC = UTF-8
- CONFIG += qt \
-@@ -21,6 +20,7 @@
- DEFINES += ENABLE_IPV6 TIXML_USE_STL BOOST_FILESYSTEM_DEPRECATED
- DEFINES += PREFIX=\"$${PREFIX}\"
- TARGET = pokerth
-+QMAKE_MOC = $$QMAKE_MOC -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-
- # PRECOMPILED_HEADER = src/pch_game.h
-