blob: fdafecef55f2b7d8535cbeae3d97d26816311573 (
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=r160.3327c54
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=("$pkgname"::'git+https://github.com/trolando/oink#commit=3327c54')
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 PREFIX=/usr DESTDIR="$pkgdir" install
}
|