blob: 17ba4c451b7461e56f9fe44b3d07905a81b59e3a (
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
37
38
39
40
41
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=gambit-git
pkgver=16.0.2.r19.gef732c81
pkgrel=1
pkgdesc="Tools for doing computation in game theory - git version"
arch=('i686' 'x86_64')
url="http://www.gambit-project.org"
license=('GPL')
depends=('wxwidgets-gtk3' 'python2')
makedepends=('git' 'cython2')
provides=('gambit')
conflicts=('gambit')
source=(git+https://github.com/gambitproject/gambit.git)
options=('!makeflags')
md5sums=('SKIP')
pkgver() {
cd "gambit"
git describe --tags|sed 's+-+.r+'| sed 's+-+.+' | cut -c2-
}
build() {
cd "gambit"
aclocal
libtoolize
automake --add-missing
autoconf
CXXFLAGS+=" -std=c++11 -fpermissive" ./configure --prefix=/usr --enable-enumpoly
make
cd src
CFLAGS+=" -std=c++11 -fpermissive" python2 setup.py build
}
package() {
cd "gambit"
make DESTDIR="$pkgdir/" install
cd src
python2 setup.py install --root="$pkgdir"
}
|