[arch-commits] Commit in bonnie++/trunk (PKGBUILD)
Leonidas Spyropoulos
artafinde at gemini.archlinux.org
Fri Jan 21 13:10:08 UTC 2022
Date: Friday, January 21, 2022 @ 13:10:07
Author: artafinde
Revision: 1112004
bonnie++: upstream version 2.00a
Modified:
bonnie++/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-21 12:36:45 UTC (rev 1112003)
+++ PKGBUILD 2022-01-21 13:10:07 UTC (rev 1112004)
@@ -3,7 +3,7 @@
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=bonnie++
-pkgver=1.98
+pkgver=2.00a
pkgrel=1
pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray"
arch=('x86_64')
@@ -11,12 +11,15 @@
license=('GPL')
depends=('perl')
source=(https://www.coker.com.au/$pkgname/$pkgname-$pkgver.tgz)
-md5sums=('5bb79f393b4172a0d7014ce4125454cd')
+sha256sums=('a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e')
build() {
cd "$srcdir"/${pkgname}-${pkgver}
./configure --prefix=/usr
- sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
+ sed \
+ -e "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=-std=c++14 ${CFLAGS}:" \
+ -e "s:LINK=g++:LINK=g++ ${LDFLAGS}:" \
+ -i Makefile
make V=1
}
More information about the arch-commits
mailing list