1 # Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
2 # Contributor: Louis R. Marascio <lrm@fitnr.com>
3 # Contributor: Cody Maloney <cmaloney@theoreticalchaos.com>
8 pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
10 url="http://code.google.com/p/googletest/"
13 depends=('gcc-libs' 'sh')
14 makedepends=('python2' 'cmake')
15 source=(http://googletest.googlecode.com/files/$pkgname-$pkgver.zip)
16 sha1sums=('00d6be170eb9fc3b2198ffdcb1f1d6ba7fc6e621')
19 cd "$srcdir/$pkgname-$pkgver"
23 cmake -DBUILD_SHARED_LIBS=ON ..
28 cd "$srcdir/$pkgname-$pkgver"
29 mkdir -pm 0755 $pkgdir/usr/{lib,include/gtest/internal,share/licenses/$pkgname}
30 install -m 0644 build/libgtest{,_main}.so $pkgdir/usr/lib/
31 install -m 0644 include/gtest/*.h $pkgdir/usr/include/gtest/
32 install -m 0644 include/gtest/internal/*.h $pkgdir/usr/include/gtest/internal/
33 install -m 0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
36 # vim:set ts=2 sw=2 et: