summaryrefslogtreecommitdiff
path: root/community/bonnie++
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
committerroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
commit76c26b027d797f3671bf0b6c6618eda2496cf88d (patch)
treec386be56a0a3bc7b668a674e9cec6405a4d2fb2f /community/bonnie++
parent29657877f6a02dbba1bd58b417b4ccd211939690 (diff)
Fri Jul 15 23:12:20 UTC 2011
Diffstat (limited to 'community/bonnie++')
-rw-r--r--community/bonnie++/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/bonnie++/PKGBUILD b/community/bonnie++/PKGBUILD
index 55800b024..8a32091ac 100644
--- a/community/bonnie++/PKGBUILD
+++ b/community/bonnie++/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=bonnie++
pkgver=1.03e
-pkgrel=4
+pkgrel=5
pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
arch=('i686' 'x86_64')
url="http://www.coker.com.au/bonnie++/"
@@ -14,14 +14,16 @@ source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz)
sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb')
build() {
- cd ${pkgname}-${pkgver}
+ cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr
sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
make
}
package() {
- cd ${pkgname}-${pkgver}
+ cd $srcdir/${pkgname}-${pkgver}
make prefix="${pkgdir}/usr" install
+ install -d $pkgdir/usr/share/doc/bonnie++
+ install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
}