# Maintainer: jelle van der Waa # Contributor: eric # Contributor: Tom Newsom pkgname=bonnie++ pkgver=1.03e pkgrel=4 pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray" arch=('i686' 'x86_64') url="http://www.coker.com.au/bonnie++/" license=('GPL') depends=('perl') source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz) sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile make } package() { cd ${pkgname}-${pkgver} make prefix="${pkgdir}/usr" install }