mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
957 B
Bash
27 lines
957 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Mateusz Herych <heniekk@gmail.com>
|
|
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
|
|
|
|
pkgname=pokerth
|
|
_pkgname=PokerTH
|
|
pkgver=0.7.1
|
|
pkgrel=3
|
|
pkgdesc="Poker game written in C++/QT4"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.pokerth.net/"
|
|
license=('GPL' 'custom')
|
|
depends=('curl' 'boost' 'gnutls' 'qt' 'sdl_mixer')
|
|
source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_pkgname-$pkgver-src.tar.bz2)
|
|
md5sums=('a26a369bf3aa4b6ed92d0cadacb626e5')
|
|
|
|
build() {
|
|
cd $startdir/src/$_pkgname-$pkgver-src
|
|
qmake $pkgname.pro
|
|
make || return 1
|
|
make INSTALL_ROOT=$startdir/pkg install
|
|
install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
|
|
install -D -m644 data/data-copyright.txt $startdir/pkg/usr/share/licenses/pokerth/data-copyright.txt
|
|
install -D -m644 docs/pokerth.1 $startdir/pkg/usr/share/man/man1/pokerth.1
|
|
rm -rf $startdir/pkg/usr/share/pokerth/data/data-copyright.txt
|
|
|
|
}
|