diff options
Diffstat (limited to 'community/bonnie++/PKGBUILD')
-rw-r--r-- | community/bonnie++/PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/community/bonnie++/PKGBUILD b/community/bonnie++/PKGBUILD index c271e0e28..9b7d990f4 100644 --- a/community/bonnie++/PKGBUILD +++ b/community/bonnie++/PKGBUILD @@ -14,16 +14,19 @@ source=(http://www.coker.com.au/bonnie++/$pkgname-$pkgver.tgz) sha256sums=('cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb') build() { - cd $srcdir/${pkgname}-${pkgver} - ./configure --prefix=/usr - sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile - make + cd $srcdir/${pkgname}-${pkgver} + + ./configure --prefix=/usr + sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile + make } package() { - 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 + 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 } |