1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Mateusz Herych <heniekk@gmail.com>
3 # Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
4 # Contributor: Vasco Costa <vasco.costa@meiodigital.com>
5 # Contributor: Federico Cinelli <cinelli@aur.archlinux.org>
11 pkgdesc="Open source Texas Hold'em Poker simulator"
13 url="http://www.pokerth.net/"
14 license=('GPL' 'custom')
15 depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf' 'libxkbcommon-x11'
16 'qt5-base' 'sdl_mixer' 'libircclient' 'tinyxml')
18 source=("https://downloads.sourceforge.net/project/pokerth/pokerth/$_pkgver/pokerth-$_pkgver.tar.gz"
19 pokerth-1.1.1-boost-1.65-ambiguous-advance.patch)
20 sha512sums=('d54c84f199636eb5a53580213e5e4ccc828cf565bf4b055797daa82e2ad54d8c52c7a16a781b82c8cc89d184a2b3c4105922394d08c7d2e06383b96963c36b5a'
21 'af91b98c04f844504c46b01c76a360d00bfe3993d6acdbc9800f2466833da42ad5e76a0ca3e197cb63aca10e4cb1eae73996b67691587eae2f2ee3975a33410e')
24 cd "$pkgname-$_pkgver"
26 patch -Np1 < "$srcdir"/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
30 cd "$pkgname-$_pkgver"
32 qmake-qt5 "$pkgname.pro" QMAKE_CFLAGS_ISYSTEM="" CONFIG+=client
37 cd "$pkgname-$_pkgver"
39 # The make install target doesn't do shit anymore for some reason.
40 make INSTALL_ROOT="$pkgdir" install
42 # mkdir -p "$pkgdir"/usr/share/pokerth
43 # cp -r data "$pkgdir"/usr/share/pokerth
44 install -Dm644 "docs/pokerth.1" "$pkgdir/usr/share/man/man1/pokerth.1"
45 install -Dm644 "data/data-copyright.txt" "$pkgdir/usr/share/licenses/pokerth/data-copyright.txt"