aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtest
diff options
context:
space:
mode:
Diffstat (limited to 'main/gtest')
-rw-r--r--main/gtest/APKBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/main/gtest/APKBUILD b/main/gtest/APKBUILD
index 9008addf44..1d2b371a64 100644
--- a/main/gtest/APKBUILD
+++ b/main/gtest/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gtest
-pkgver=1.7.0
+pkgver=1.8.0
pkgrel=0
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
-url="http://code.google.com/p/googletest"
+url="https://github.com/google/googletest"
arch="all"
license="BSD"
depends="libgcc bash"
@@ -11,9 +11,9 @@ depends_dev="python2 cmake"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://googletest.googlecode.com/files/${pkgname}-${pkgver}.zip"
+source="https://github.com/google/googletest/archive/release-$pkgver.tar.gz"
-_builddir="$srcdir"/${pkgname}-${pkgver}
+_builddir="$srcdir"/googletest-release-${pkgver}
prepare() {
local i
cd "$_builddir"
@@ -39,23 +39,23 @@ package() {
cd "$_builddir"
for dir in usr/lib usr/include/gtest/internal usr/share/licenses/gtest\
usr/src/gtest/cmake usr/src/gtest/src; do
- install -d -m 0755 "$pkgdir"/"$dir"
+ install -d -m 0755 "$pkgdir"/"$dir" || return 1
done
- install -m 0644 build/libgtest*.so "$pkgdir"/usr/lib || return 1
- install -m 0644 include/gtest/*.h "$pkgdir"/usr/include/gtest \
+ install -m 0644 build/googlemock/gtest/libgtest*.so "$pkgdir"/usr/lib || return 1
+ install -m 0644 googletest/include/gtest/*.h "$pkgdir"/usr/include/gtest \
|| return 1
- install -m 0644 include/gtest/internal/*.h \
+ install -m 0644 googletest/include/gtest/internal/*.h \
"$pkgdir"/usr/include/gtest/internal/ || return 1
- install -m 0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ \
+ install -m 0644 googletest/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ \
|| return 1
- install -m 0644 "$_builddir/fused-src/gtest"/* \
- "$pkgdir"/usr/src/gtest/src/ || return 1
- install -m 0644 "$_builddir/CMakeLists.txt" "$pkgdir"/usr/src/gtest/ \
+ #install -m 0644 "$_builddir/fused-src/gtest"/* \
+ # "$pkgdir"/usr/src/gtest/src/ || return 1
+ install -m 0644 googletest/CMakeLists.txt "$pkgdir"/usr/src/gtest/ \
|| return 1
- install -m 0644 "$_builddir/cmake"/* "$pkgdir"/usr/src/gtest/cmake/ \
+ install -m 0644 googletest/cmake/* "$pkgdir"/usr/src/gtest/cmake/ \
|| return 1
}
-md5sums="2d6ec8ccdf5c46b05ba54a9fd1d130d7 gtest-1.7.0.zip"
-sha256sums="247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d gtest-1.7.0.zip"
-sha512sums="8859369f2dd32cbc2ac01aba029aa3ff20a321f40658b9643aff442d34c33468221866b801b28c66a28af47dbcd362d26941fc98db92b6efb7e41ea5b7be1a07 gtest-1.7.0.zip"
+md5sums="16877098823401d1bf2ed7891d7dce36 release-1.8.0.tar.gz"
+sha256sums="58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8 release-1.8.0.tar.gz"
+sha512sums="1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d release-1.8.0.tar.gz"