summaryrefslogtreecommitdiff
path: root/community/gtest/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtest/PKGBUILD')
-rw-r--r--community/gtest/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/community/gtest/PKGBUILD b/community/gtest/PKGBUILD
index c77f111ed..c19a0a435 100644
--- a/community/gtest/PKGBUILD
+++ b/community/gtest/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 80934 2012-12-07 06:58:41Z fyan $
+# $Id: PKGBUILD 97632 2013-09-26 06:11:28Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Alexandre Bique <bique.alexandre@gmail.com>
# Contributor: Louis R. Marascio <lrm@fitnr.com>
# Contributor: Cody Maloney <cmaloney@theoreticalchaos.com>
pkgname=gtest
-pkgver=1.6.0
-pkgrel=7
+pkgver=1.7.0
+pkgrel=1
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/googletest/"
@@ -15,7 +15,6 @@ options=('!libtool')
depends=('gcc-libs' 'sh')
makedepends=('python2' 'cmake')
source=("http://googletest.googlecode.com/files/$pkgname-$pkgver.zip")
-sha1sums=('00d6be170eb9fc3b2198ffdcb1f1d6ba7fc6e621')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -30,14 +29,15 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- mkdir -pm 0755 $pkgdir/usr/{lib,include/gtest/internal,share/licenses/$pkgname,src/gtest/src,src/gtest/cmake}
- install -m 0644 build/libgtest{,_main}.so $pkgdir/usr/lib/
- install -m 0644 include/gtest/*.h $pkgdir/usr/include/gtest/
- install -m 0644 include/gtest/internal/*.h $pkgdir/usr/include/gtest/internal/
- install -m 0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- install -m 0644 $srcdir/$pkgname-$pkgver/fused-src/gtest/* $pkgdir/usr/src/gtest/src
- install -m 0644 $srcdir/$pkgname-$pkgver/CMakeLists.txt $pkgdir/usr/src/gtest
- install -m 0644 $srcdir/$pkgname-$pkgver/cmake/* $pkgdir/usr/src/gtest/cmake
+ mkdir -pm 0755 "$pkgdir"/usr/{lib,include/gtest/internal,share/licenses/$pkgname,src/gtest/src,src/gtest/cmake}
+ install -m 0644 build/libgtest{,_main}.so "$pkgdir"/usr/lib
+ install -m 0644 include/gtest/*.h "$pkgdir"/usr/include/gtest
+ install -m 0644 include/gtest/internal/*.h "$pkgdir"/usr/include/gtest/internal/
+ install -m 0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/
+ install -m 0644 "$srcdir/$pkgname-$pkgver/fused-src/gtest"/* "$pkgdir"/usr/src/gtest/src/
+ install -m 0644 "$srcdir/$pkgname-$pkgver/CMakeLists.txt" "$pkgdir"/usr/src/gtest/
+ install -m 0644 "$srcdir/$pkgname-$pkgver/cmake"/* "$pkgdir"/usr/src/gtest/cmake/
}
# vim:set ts=2 sw=2 et:
+sha512sums=('8859369f2dd32cbc2ac01aba029aa3ff20a321f40658b9643aff442d34c33468221866b801b28c66a28af47dbcd362d26941fc98db92b6efb7e41ea5b7be1a07')