summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rwxr-xr-xPKGBUILD15
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b3c0525190..beb870ec414 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = lib32-gtest
- pkgdesc = Google Test - C++ testing utility based on the xUnit framework (like JUnit)
- pkgver = 1.8.1
+ pkgdesc = Google Test - C++ testing utility based on the xUnit framework (like JUnit)
+ pkgver = 1.10.0
pkgrel = 1
url = https://github.com/google/googletest
arch = x86_64
license = custom:BSD3
makedepends = cmake
depends = gtest
- depends = lib32-gcc-libs
+ depends = lib32-gcc-libs
options = !buildflags
options = staticlibs
options = !strip
- source = https://github.com/google/googletest/archive/release-1.8.1.tar.gz
- sha512sums = e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7
+ source = https://github.com/google/googletest/archive/release-1.10.0.tar.gz
+ sha512sums = bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9
pkgname = lib32-gtest
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
}