2011-01-09 09:10:01 +08:00
|
|
|
#
|
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Daniele Cocca <daniele.cocca@gmail.com>
|
|
|
|
|
2011-07-09 07:25:18 +08:00
|
|
|
pkgname=pokerth
|
2011-07-10 01:45:56 +08:00
|
|
|
_realname=PokerTH
|
2013-04-08 17:18:54 +08:00
|
|
|
pkgver=1.0.1
|
2014-01-19 17:18:33 +08:00
|
|
|
pkgrel=2
|
2011-01-09 09:10:01 +08:00
|
|
|
pkgdesc="PokerTH is a Texas Holdem poker game written in C++/Qt."
|
2013-03-06 04:55:48 +08:00
|
|
|
arch=('x86_64')
|
2012-01-22 16:13:35 +08:00
|
|
|
license=('AGPL3' 'custom:Variety of FOSS licenses for data files')
|
2013-03-06 04:55:48 +08:00
|
|
|
depends=('boost-libs' 'curl' 'gnutls' 'libgsasl' 'libircclient' 'qt' 'sdl_mixer' 'tinyxml' 'protobuf')
|
2012-01-22 16:13:35 +08:00
|
|
|
makedepends=('boost')
|
2011-01-09 09:10:01 +08:00
|
|
|
url="http://www.pokerth.net/"
|
2014-01-19 17:18:33 +08:00
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${_realname}-${pkgver}-src.tar.bz2"
|
|
|
|
"pokerth-1.0.1-boost.patch::https://github.com/pokerth/pokerth/commit/8adbe8edb982c56ad126264dab4b98fe45ed520f.diff#diff-29b89cfa10024074b0fab826fc532936")
|
|
|
|
md5sums=('c6dcf0ed68ab50af91371348ffad5d00'
|
|
|
|
'6b126138564121c1f3de29ed3c328cb0')
|
2011-01-09 09:10:01 +08:00
|
|
|
|
|
|
|
build() {
|
2011-07-10 01:45:56 +08:00
|
|
|
cd "${srcdir}/${_realname}-${pkgver}-src"
|
|
|
|
|
2014-01-19 17:18:33 +08:00
|
|
|
patch -p1 < "$srcdir/pokerth-1.0.1-boost.patch"
|
2011-07-10 01:45:56 +08:00
|
|
|
|
|
|
|
qmake "${pkgname}.pro"
|
|
|
|
make
|
2011-01-09 09:10:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-07-10 01:45:56 +08:00
|
|
|
cd "${srcdir}/${_realname}-${pkgver}-src"
|
|
|
|
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2011-01-09 09:10:01 +08:00
|
|
|
|
2011-07-10 01:45:56 +08:00
|
|
|
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"
|
2011-01-09 09:10:01 +08:00
|
|
|
}
|