summaryrefslogtreecommitdiff
path: root/community/pokerth
diff options
context:
space:
mode:
Diffstat (limited to 'community/pokerth')
-rw-r--r--community/pokerth/PKGBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index ba4dca3e6..daf38691f 100644
--- a/community/pokerth/PKGBUILD
+++ b/community/pokerth/PKGBUILD
@@ -1,44 +1,43 @@
-# $Id: PKGBUILD 59960 2011-12-02 21:00:17Z ibiru $
-# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# $Id: PKGBUILD 61635 2012-01-05 05:53:39Z bpiotrowski $
+# 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.8.3
-pkgrel=6
+pkgver=0.9
+pkgrel=1
pkgdesc="Poker game written in C++/QT4"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pokerth.net/"
license=('GPL' 'custom')
-depends=('curl' 'boost-libs>=1.43.0' 'gsasl' 'gnutls' 'qt' 'sdl_mixer')
+depends=('curl' 'boost-libs>=1.43.0' 'gsasl' 'gnutls'
+ 'qt' 'sdl_mixer' 'libircclient' 'tinyxml')
makedepends=('boost')
source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
-md5sums=('adbe56ad5f547eb255dad91de564bf1c')
+md5sums=('849eb1a70735177c96bf4608d4637c7c')
build() {
- cd $_realname-$pkgver-src
+ cd "$srcdir/$_realname-$pkgver-src"
sed -i 's/QMAKE_CXXFLAGS += -std=gnu++0x/QMAKE_CXXFLAGS += -std=gnu++0x -DBOOST_FILESYSTEM_VERSION=2/' *.pro
-
# 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
qmake $pkgname.pro
-
make
}
package() {
- cd $_realname-$pkgver-src
+ cd "$srcdir/$_realname-$pkgver-src"
make INSTALL_ROOT="$pkgdir" install
- install -D $pkgname "$pkgdir/usr/bin/$pkgname"
+ 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"
}