summaryrefslogtreecommitdiff
path: root/community/pokerth/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-06 23:14:57 +0000
committerroot <root@rshg054.dnsready.net>2012-01-06 23:14:57 +0000
commitd7931e8fa49a4698ac8dbb1a155ca6b48f031828 (patch)
tree281739e3992b9ac2dbb722ea6f84d1015fe1a365 /community/pokerth/PKGBUILD
parent817e58c278cb8ebee7743205877d0f67c431fcec (diff)
Fri Jan 6 23:14:57 UTC 2012
Diffstat (limited to 'community/pokerth/PKGBUILD')
-rw-r--r--community/pokerth/PKGBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index 97ade0741..b7008bb82 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')
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"
}