summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 500fe779c49012f6cee75837c2095f8bc715137d (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
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=gambit
pkgver=16.1.0
pkgrel=1
pkgdesc="Tools for doing computation in game theory"
arch=('i686' 'x86_64')
url="http://www.gambit-project.org"
license=('GPL')
makedepends=('cython' 'python-setuptools')
source=("https://github.com/gambitproject/gambit/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('de3e3d561cf46aeaec135efaf23f41ddef28968d9071251ca8cb6266babece62')
options=('!makeflags')

build() {
  cd "$pkgname-$pkgver"
  aclocal
  libtoolize
  automake --add-missing
  autoconf
  ./configure --prefix=/usr --disable-enumpoly
  make
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  python setup.py install --root="$pkgdir"
}