# Contributor: Auguste Pop # Maintainer: Stefan Husmann pkgname=pachi pkgver=12.40 pkgrel=1 pkgdesc="A reasonably strong engine for the board game go" arch=('i686' 'x86_64') depends=('glibc') url="http://pachi.or.cz/" license=('GPL') source=("https://github.com/pasky/pachi/archive/$pkgname-$pkgver.tar.gz" makefile.patch) sha256sums=('f523d23aa855f78a171df334b9712bca540d3ef4ef69b7306b84e4c35446d097' '19f5d74457d506198ad3ea95ff2fc3c3f9737ed0340f5178b1ba8ebd7fe62fc6') options=('!makeflags') prepare() { cd $pkgname-$pkgname-$pkgver patch -Np1 < "$srcdir"/makefile.patch } build() { cd $pkgname-$pkgname-$pkgver make } package() { cd $pkgname-$pkgname-$pkgver install -D -d "$pkgdir"/usr/bin make PREFIX="$pkgdir"/usr install }