summaryrefslogtreecommitdiff
path: root/community-testing/pokerth/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
commit8736f458a17a03cf79a763a0c8122f93162fed71 (patch)
treefba97f22de8410ee5df8985e6c98756093578100 /community-testing/pokerth/PKGBUILD
parentd1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff)
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'community-testing/pokerth/PKGBUILD')
-rw-r--r--community-testing/pokerth/PKGBUILD44
1 files changed, 0 insertions, 44 deletions
diff --git a/community-testing/pokerth/PKGBUILD b/community-testing/pokerth/PKGBUILD
deleted file mode 100644
index 0c4477ea2..000000000
--- a/community-testing/pokerth/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 59767 2011-11-30 06:35:56Z ibiru $
-# Maintainer: Mateusz Herych <heniekk@gmail.com>
-# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
-
-pkgname=pokerth
-_realname=PokerTH
-pkgver=0.8.3
-pkgrel=6
-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')
-makedepends=('boost')
-source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
-md5sums=('adbe56ad5f547eb255dad91de564bf1c')
-
-build() {
- 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 $_realname-$pkgver-src
-
- 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"
-}