blob: d6fe96e8eddf6a2a6c7f64125480a5e721f1d31a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 104126 2014-01-16 06:37:17Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
# Contributor: Federico Cinelli <cinelli@aur.archlinux.org>
pkgname=pokerth
_realname=PokerTH
pkgver=1.1.1
pkgrel=1
pkgdesc="Poker game written in C++/Qt4"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pokerth.net/"
license=('GPL' 'custom')
depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf'
'qt5-base' 'sdl_mixer' 'libircclient' 'tinyxml')
makedepends=('boost')
source=("http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2")
md5sums=('a7f76f95782099f966e5f2b6809f502a')
build() {
cd "$srcdir/$_realname-$pkgver-src"
qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "$srcdir/$_realname-$pkgver-src"
make INSTALL_ROOT="$pkgdir" install
install -Dm644 "docs/pokerth.1" "$pkgdir/usr/share/man/man1/pokerth.1"
install -Dm644 "data/data-copyright.txt" "$pkgdir/usr/share/licenses/pokerth/data-copyright.txt"
}
|