Verified Commit 7c6c7c5c authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/gtest: bump to 1.10.0

parent 2b532553
# Maintainer:
pkgname=gtest
pkgver=1.8.1
pkgver=1.10.0
pkgrel=0
pkgdesc="C++ testing framework based on xUnit (like JUnit)"
url="https://github.com/google/googletest"
......@@ -15,7 +15,6 @@ source="https://github.com/google/googletest/archive/release-$pkgver.tar.gz"
builddir="$srcdir"/googletest-release-${pkgver}
build() {
cd "$builddir"
rm -rf build
mkdir build
cd build
......@@ -26,12 +25,11 @@ build() {
}
package() {
cd "$builddir"
for dir in usr/lib usr/include/gtest/internal/custom usr/share/licenses/gtest\
usr/src/gtest/cmake usr/src/gtest/src; do
install -d -m 0755 "$pkgdir"/"$dir"
done
install -m 0644 build/googlemock/gtest/libgtest*.so "$pkgdir"/usr/lib
install -m 0644 build/lib/libgtest*.so "$pkgdir"/usr/lib
install -m 0644 googletest/include/gtest/*.h "$pkgdir"/usr/include/gtest
install -m 0644 googletest/include/gtest/internal/*.h \
......@@ -43,4 +41,4 @@ package() {
install -m 0644 googletest/cmake/* "$pkgdir"/usr/src/gtest/cmake/
}
sha512sums="e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 release-1.8.1.tar.gz"
sha512sums="bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9 release-1.10.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment