summaryrefslogtreecommitdiff
path: root/community/pokerth
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-04 00:04:06 -0800
committerroot <root@rshg054.dnsready.net>2013-01-04 00:04:06 -0800
commit782a0d2109c292b60e7de038df66525a81b21429 (patch)
tree586565a52faa28339159b4a4e53af142db7c67aa /community/pokerth
parentf2bbb5646aefe9ea6502524fbf4d0138cee8b2a1 (diff)
Fri Jan 4 00:04:06 PST 2013
Diffstat (limited to 'community/pokerth')
-rw-r--r--community/pokerth/PKGBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index 13be8a7a4..0580eb00c 100644
--- a/community/pokerth/PKGBUILD
+++ b/community/pokerth/PKGBUILD
@@ -1,33 +1,26 @@
-# $Id: PKGBUILD 74006 2012-07-18 01:08:18Z ibiru $
+# $Id: PKGBUILD 81929 2013-01-03 15:09:22Z svenstaro $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
pkgname=pokerth
_realname=PokerTH
-pkgver=0.9.5
-pkgrel=2
+pkgver=1.0
+pkgrel=1
pkgdesc="Poker game written in C++/QT4"
arch=('i686' 'x86_64')
url="http://www.pokerth.net/"
license=('GPL' 'custom')
-depends=('curl' 'boost-libs' 'gsasl' 'gnutls'
+depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf'
'qt' 'sdl_mixer' 'libircclient' 'tinyxml')
makedepends=('boost')
source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
-md5sums=('4bdea98bfc142a825c64b77feb4667d0')
+md5sums=('1d8686b8968475cfc76e873a17a53efc')
build() {
cd "$srcdir/$_realname-$pkgver-src"
- sed -i '1 i #include <unistd.h>' src/third_party/qtsingleapplication/qtlocalpeer.cpp
-
- sed -i '23 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
-
- # fix g++: error: unrecognized option '-no_dead_strip_inits_and_terms'
- sed \
- -e 's/QMAKE_LFLAGS += -no_dead_strip_inits_and_terms//' \
- -i zlib_compress.pro pokerth_game.pro pokerth_server.pro
+ sed -i '31 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
qmake $pkgname.pro
make
@@ -38,8 +31,6 @@ package() {
make INSTALL_ROOT="$pkgdir" install
- install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -D -m644 docs/pokerth.1 "$pkgdir/usr/share/man/man1/pokerth.1"
install -D -m644 data/data-copyright.txt "$pkgdir/usr/share/licenses/pokerth/data-copyright.txt"
- rm -f "$pkgdir/usr/share/pokerth/data/data-copyright.txt"
}