Skip to content

Commit

Permalink
benchmark: Update to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Jun 11, 2019
1 parent c148a22 commit b3f17b0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions mingw-w64-benchmark/PKGBUILD
Expand Up @@ -3,7 +3,8 @@
_realname=benchmark
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.4.1
_gtest_ver=1.8.1
pkgver=1.5.0
pkgrel=1
pkgdesc="A microbenchmark support library, by Google (mingw-w64)"
arch=('any')
Expand All @@ -15,11 +16,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-gtest")
options=('staticlibs' 'strip')
source=("${_realname}-${pkgver}.tar.gz::https://github.com/google/benchmark/archive/v${pkgver}.tar.gz"
googletest-release-${_gtest_ver}.tar.gz::https://github.com/google/googletest/archive/release-${_gtest_ver}.tar.gz
"benchmark-mingw.patch")
sha256sums=('f8e525db3c42efc9c7f3bc5176a8fa893a9a9920bbd08cef30fb56a51854d60d'
sha256sums=('3c6a165b6ecc948967a1ead710d4a181d7b0fbcaa183ef7ea84604994966221a'
'9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c'
'00a34d29f1dc4339513c4ebabd00560b446624a3380edc98a57c0c43484473f7')

prepare() {
cp -r googletest-release-${_gtest_ver} ${_realname}-${pkgver}/googletest

cd "${srcdir}/${_realname}-${pkgver}"
patch -Np1 -i "${srcdir}/benchmark-mingw.patch"
sed -i "s|v0.0.0|v${pkgver}|g" "cmake/GetGitVersion.cmake"
Expand Down

0 comments on commit b3f17b0

Please sign in to comment.