updated on Tue Jan 17 08:05:08 UTC 2012
[aur-mirror.git] / pokerth-dev / PKGBUILD
blobffd5d5538a1200576d366fa2b088f9d4aabd860e
1 # Mantainer: Sergi March <sergi dot march at gmail dot com>
2 pkgname=pokerth-dev
3 _realname=PokerTH
4 pkgver=0.8.2
5 pkgrel=1
6 pkgdesc="Poker game written in C++/QT4. Ranking Online version"
7 arch=('i686' 'x86_64')
8 url="http://www.pokerth.net/"
9 license=('GPL' 'custom')
10 depends=('curl' 'boost-libs>=1.43.0' 'gnutls' 'qt' 'sdl_mixer' 'gsasl')
11 conflicts=('pokerth')
12 makedepends=('boost')
13 source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
14 md5sums=('bc9af0733d32c16e23fb9975e9aba100')
16 build() {
17   cd "$srcdir/$_realname-$pkgver-src"
18   
19   qmake pokerth.pro || return 1
20   make || return 1
23 package() {
24   cd "$srcdir/$_realname-$pkgver-src"
26   make INSTALL_ROOT="$pkgdir" install || return 1
28   install -D -m755 pokerth "$pkgdir/usr/bin/pokerth" || return 1
29   install -D -m644 docs/pokerth.1 "$pkgdir/usr/share/man/man1/pokerth.1" || return 1