summaryrefslogtreecommitdiff
path: root/community/bonnie++/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-18 12:59:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-18 12:59:47 -0300
commit12c074375919d2de177eb9456352866902118a03 (patch)
tree3f6b2e5baadedbc7901bf3e614fd017ca8aaee52 /community/bonnie++/PKGBUILD
parent598db82f25ffe3557e395a11f379de65af9e1ac1 (diff)
parentddddf9c453076a407bfdbf3e030e606f31ee2b86 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/dopewars/PKGBUILD community/virtualbox/PKGBUILD core/lvm2/PKGBUILD extra/aspell/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/libproxy/PKGBUILD extra/live-media/PKGBUILD extra/ocaml/PKGBUILD extra/putty/PKGBUILD extra/python/PKGBUILD extra/ruby/PKGBUILD kde-unstable/calligra/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'community/bonnie++/PKGBUILD')
-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
}