[arch-commits] Commit in gtest/trunk (PKGBUILD pkgconfig.patch)
Levente Polyak
anthraxx at archlinux.org
Sat Aug 6 10:41:31 UTC 2016
Date: Saturday, August 6, 2016 @ 10:41:31
Author: anthraxx
Revision: 185592
upgpkg: gtest 1.7.0-4 (correct pkgconfig version)
Modified:
gtest/trunk/PKGBUILD
gtest/trunk/pkgconfig.patch
-----------------+
PKGBUILD | 5 +++--
pkgconfig.patch | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-06 10:21:12 UTC (rev 185591)
+++ PKGBUILD 2016-08-06 10:41:31 UTC (rev 185592)
@@ -6,7 +6,7 @@
pkgname=gtest
pkgver=1.7.0
-pkgrel=3
+pkgrel=4
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
arch=('i686' 'x86_64')
url="http://code.google.com/p/googletest/"
@@ -16,11 +16,12 @@
source=(http://googletest.googlecode.com/files/$pkgname-$pkgver.zip
pkgconfig.patch)
sha512sums=('8859369f2dd32cbc2ac01aba029aa3ff20a321f40658b9643aff442d34c33468221866b801b28c66a28af47dbcd362d26941fc98db92b6efb7e41ea5b7be1a07'
- '86119b8e731d1dfaf5e3e968b6d7955c7171a0d45c52f871fa16108c8bb0dfcb1ee49be7d682ac2e148e789563a5b527ac6c163803e812130a62393fe08e16b8')
+ 'e39e62960566408f4c011e630b7c4dc8f9de5da3f7b5ac01ef0214712eff9c9283d6f6b19b375c806d7ed3f056258b3096c51855134766d609989d40f80f3bc7')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 < "${srcdir}/pkgconfig.patch"
+ sed -r "s|(Version:) .+|\1 ${pkgver}|" -i gtest.pc.in
mkdir build
}
Modified: pkgconfig.patch
===================================================================
--- pkgconfig.patch 2016-08-06 10:21:12 UTC (rev 185591)
+++ pkgconfig.patch 2016-08-06 10:41:31 UTC (rev 185592)
@@ -41,9 +41,10 @@
index 0000000..57b1049
--- /dev/null
+++ b/gtest.pc.in
-@@ -0,0 +1,8 @@
+@@ -0,0 +1,9 @@
+Name: libgtest
+Description: Google's framework for writing C++ tests on a variety of platforms
++Version: 0.0.0
+
+prefix=@CMAKE_INSTALL_PREFIX@
+includedir=${prefix}/include
More information about the arch-commits
mailing list