[arch-commits] Commit in benchmark/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Sun Aug 9 16:05:17 UTC 2020
Date: Sunday, August 9, 2020 @ 16:05:16
Author: mtorromeo
Revision: 673163
archrelease: copy trunk to community-x86_64
Added:
benchmark/repos/community-x86_64/PKGBUILD
(from rev 673162, benchmark/trunk/PKGBUILD)
Deleted:
benchmark/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-09 16:05:10 UTC (rev 673162)
+++ PKGBUILD 2020-08-09 16:05:16 UTC (rev 673163)
@@ -1,40 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Philipp Claßen <philipp.classen at posteo.de>
-
-pkgname=benchmark
-pkgver=1.5.1
-pkgrel=1
-pkgdesc="A microbenchmark support library"
-arch=('x86_64')
-url="https://github.com/google/benchmark"
-license=('Apache')
-depends=('gcc-libs')
-makedepends=('cmake')
-
-source=("https://github.com/google/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('23082937d1663a53b90cb5b61df4bcc312f6dee7018da78ba00dd6bd669dfef2')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- mkdir -p build
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver/build"
-
- cmake \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_SHARED_LIBS=ON \
- -DBENCHMARK_ENABLE_LTO=ON \
- -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
- ..
-
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver/build"
- make DESTDIR="$pkgdir/" install
-}
Copied: benchmark/repos/community-x86_64/PKGBUILD (from rev 673162, benchmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-09 16:05:16 UTC (rev 673163)
@@ -0,0 +1,41 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Philipp Claßen <philipp.classen at posteo.de>
+
+pkgname=benchmark
+pkgver=1.5.1
+pkgrel=2
+pkgdesc="A microbenchmark support library"
+arch=('x86_64')
+url="https://github.com/google/benchmark"
+license=('Apache')
+depends=('gcc-libs')
+makedepends=('cmake')
+
+source=("https://github.com/google/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('23082937d1663a53b90cb5b61df4bcc312f6dee7018da78ba00dd6bd669dfef2')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir -p build
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+
+ cmake \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBENCHMARK_ENABLE_LTO=ON \
+ -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
+ ..
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list