summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5191d81c9700506e1fb8eafae563174d0739e727 (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
# Maintainer: León Bohn <leon.bohn@rwth-aachen.de>

pkgname=oink-git
pkgrel=1
pkgver=r108.0464439
pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgdesc="Oink is an implementation of modern parity game solvers written in C++."
arch=('i686' 'x86_64')
url="https://github.com/trolando/oink"
licecnse=('Apache 2.0')
source=("oink-git::git+https://github.com/trolando/oink#commit=0464439")
makedepends=('git' 'gcc' 'make' 'cmake' 'boost')
depends=('boost-libs')
md5sums=('SKIP')


build() {
  cd $pkgname
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd ${pkgname}/build
  make DESTDIR=${pkgdir} install
}