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

pkgname=gambit-git
pkgver=15.0.0.r15.g0860191
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=('wxgtk')
makedepends=('git')
provides=('gambit')
conflicts=('gambit')
source=(git+https://github.com/gambitproject/gambit.git)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/gambit"
  git describe --tags|sed 's+-+.r+'| sed 's+-+.+' | cut -c2-
}

build() {
  cd "$srcdir/gambit"
  aclocal
  libtoolize
  automake --add-missing
  autoconf

  ./configure  --prefix=/usr 
  make 
}

package() {
  cd "$srcdir/gambit"
  make DESTDIR="$pkgdir/" install
}