# Maintainer: León Bohn 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 }