summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f6a25891db..dc4642e663e 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,20 @@
_pkgname=gtest
pkgname=lib32-${_pkgname}
-pkgver=1.8.1
+pkgver=1.10.0
pkgrel=1
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
arch=('x86_64')
url="https://github.com/google/googletest"
license=(custom:BSD3)
depends=("${_pkgname}" 'lib32-gcc-libs')
-makedepends = cmake
+makedepends=('cmake')
options=(!buildflags staticlibs !strip)
source=("https://github.com/google/googletest/archive/release-${pkgver}.tar.gz")
-sha512sums=('e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7')
+sha512sums=('bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9')
build() {
- cd "googletest-release-${pkgver}/googletest"
+ cd "googletest-release-${pkgver}"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
@@ -23,14 +23,15 @@ build() {
-Dgtest_disable_pthreads=ON \
-DCMAKE_CXX_FLAGS=-m32 \
-DCMAKE_SHARED_LINKER_FLAGS=-m32 \
+ -DBUILD_GMOCK=ON \
.
cmake --build .
}
package() {
- cd "googletest-release-${pkgver}/googletest"
+ cd "googletest-release-${pkgver}"
mkdir -pm 0755 "${pkgdir}/usr/lib32"
- #install -m 644 googlemock/libgmock{,_main}.so "${pkgdir}"/usr/lib32
- install -m 644 libgtest{,_main}.so "${pkgdir}"/usr/lib32
+ install -m 644 lib/libgmock{,_main}.so "${pkgdir}"/usr/lib32
+ install -m 644 lib/libgtest{,_main}.so "${pkgdir}"/usr/lib32
}