summaryrefslogtreecommitdiff
path: root/community/pokerth
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 22:59:51 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-29 22:59:51 -0500
commit0aa81f04b6149c3eb5faedd57512a981e6d3c624 (patch)
tree98b1d03925fafa426c20c3075d69145c8bb2f4d8 /community/pokerth
parentb18caf89fb235f174419d578a7da0237e456ef3d (diff)
parentc399070d50c89903ec1dea55aa4aa5147a367565 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: community/csfml/PKGBUILD community/evolution-rss/PKGBUILD community/inn/PKGBUILD community/libssh2/PKGBUILD community/perl-xml-dom/PKGBUILD community/php52/PKGBUILD community/python-pysfml/PKGBUILD community/skype-call-recorder/PKGBUILD extra/ipod-sharp/PKGBUILD extra/madwifi-utils/PKGBUILD extra/madwifi/PKGBUILD
Diffstat (limited to 'community/pokerth')
-rw-r--r--community/pokerth/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index e34e02601..cc4df5fca 100644
--- a/community/pokerth/PKGBUILD
+++ b/community/pokerth/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 45135 2011-04-17 08:17:41Z tdziedzic $
+# $Id: PKGBUILD 47635 2011-05-24 14:23:55Z tdziedzic $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
pkgname=pokerth
_realname=PokerTH
pkgver=0.8.3
-pkgrel=3
+pkgrel=4
pkgdesc="Poker game written in C++/QT4"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pokerth.net/"
@@ -16,16 +16,23 @@ source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-
md5sums=('adbe56ad5f547eb255dad91de564bf1c')
build() {
- cd "$srcdir/$_realname-$pkgver-src"
+ cd $_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 "$srcdir/$_realname-$pkgver-src"
+ cd $_realname-$pkgver-src
make INSTALL_ROOT="$pkgdir" install