updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / fpdb / PKGBUILD
blob87d3e24a6b64d9c6c02b5031c535098a8677b23d
1 # Maintainer: flub <flub123[at]gmx[dot]de>
2 pkgname=fpdb
3 pkgver=0.26
4 pkgrel=1
5 pkgdesc="Free poker database is a free/open source tracker/HUD for use with on line poker."
6 url="http://sourceforge.net/projects/fpdb/"
7 arch=('x86_64' 'i686')
8 license=('Affero GPL')
9 depends=('python2' 'python2-matplotlib' 'pypoker-eval' 'python-xlib')
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 source=("http://ignum.dl.sourceforge.net/project/fpdb/fpdb/${pkgver}/python-fpdb_${pkgver}-${pkgrel}_all.deb")
15 md5sums=('e4f46fa3192c70169114f8693230620f')
17 build() {
18   ar xfv python-fpdb_${pkgver}-${pkgrel}_all.deb
19   tar xfv data.tar.gz
20   mv usr/share/pyshared/fpdb/fpdb.pyw fpdb.pyw
21   cat fpdb.pyw | sed 's/env\ python/env\ python2/g' > usr/share/pyshared/fpdb/fpdb.pyw
22   chmod +x usr/share/pyshared/fpdb/fpdb.pyw
23   mv usr/share/pyshared/fpdb/HUD_main.pyw HUD_main.pyw
24   cat HUD_main.pyw | sed 's/env\ python/env\ python2/g' > usr/share/pyshared/fpdb/HUD_main.pyw
25   chmod +x usr/share/pyshared/fpdb/HUD_main.pyw
28 package() {
29   cp -r usr/ ${pkgdir}/.
32 # vim:set ts=2 sw=2 et: