Package Details: gmock 1.7.0-2

Git Clone URL: (read-only)
Package Base: gmock
Description: Google Mock - A library for writing and using C++ mock classes
Upstream URL:
Licenses: BSD
Submitter: ablakok
Maintainer: eXeC64
Last Packager: eXeC64
Votes: 112
Popularity: 0.919819
First Submitted: 2009-05-26 15:42
Last Updated: 2016-03-29 14:35

Required by (7)

Sources (3)

Latest Comments

eXeC64 commented on 2016-03-29 14:35


Thanks for the patch. I've applied your changes.

msrd0 commented on 2016-03-29 13:52

Can you please install CMakeLists.txt to /usr/src/gmock? There are some programs that can't build without that file. The modified PKGBUILD would look something like this:

diff --git a/PKGBUILD b/PKGBUILD
index a01dff9..172e1b3 100644
@@ -1,11 +1,12 @@
# Maintainer: Jacob Emmert-Aronson <jacob at mlaronson dot com>
# Contributor: Xiao-Long Chen <chenxiaolong at cxl dot epac dot to>
# Contributor: Paul Viren <paul dot viren at ircameras dot com>
+# Contributor: Dominic Meiser <dosm dot mail at gmail dot com>

pkgdesc="Google Mock - A library for writing and using C++ mock classes"
arch=('i686' 'x86_64')
@@ -44,6 +45,7 @@ package() {
install -d -m755 "${pkgdir}/usr/share/${pkgname}/"
install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}/"
install -d -m755 "${pkgdir}/usr/src/gmock/src"
+ install -m644 CMakeLists.txt "$pkgdir/usr/src/gmock"
install -m755 "scripts/generator/" "${pkgdir}/usr/bin/"
install -m 0644 $srcdir/$pkgname-$pkgver/src/*.cc $pkgdir/usr/src/gmock/src
cp -r --preserve=mode,links "scripts/generator/cpp" "${pkgdir}/usr/share/${pkgname}/"

I didn't find something like pull requests here, so I just copy-pasted the diff.

ochurlaud commented on 2015-08-05 21:05

I cannot download it with yaourt, and view PKGBUILD fails

roadnottaken commented on 2015-01-04 03:52

Orphaned as I no longer use this.

willemw commented on 2014-07-26 09:48

$ pacaur -S kdeplasma-applets-socketsentry
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: gmock
==> ERROR: 'pacman' failed to install missing dependencies.
:: kdeplasma-applets-socketsentry cleaned

This package should be resubmitted with mkaurball. See

roadnottaken commented on 2013-09-23 17:53

When I get a chance (probably a bit later in the week) I'll package up 1.7.0.

chenxiaolong commented on 2013-09-20 00:53

@roadnottaken: I've disowned this package because I don't really use it anymore. Feel free to adopt and modify it :)

roadnottaken commented on 2013-09-14 21:22

gtest upstream recommends compiling gtest (and by extension gmock) for each project, rather than precompiling as a shared library (see To allow this, could you please modify the PKGBUILD to also install either src/*.cc or fused-src/*.cc into /usr/src/gmock/src/ ? This follows the convention set by the gtest package in community. Note that src includes only gmock sources, while fused-src combines all source files for gmock and gtest (except for the main() function) into a single file.

lpapp commented on 2013-07-20 09:53

I wonder why this package is not yet in the community repository?

chenxiaolong commented on 2012-04-18 20:33

@jumpfunky: coreutils is part of the base group. According to the Arch Wiki, the packages in the base and base-devel groups should be installed before installing any AUR package.

All comments