diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/gtest/PKGBUILD | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/gtest/PKGBUILD')
-rw-r--r-- | community/gtest/PKGBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/community/gtest/PKGBUILD b/community/gtest/PKGBUILD deleted file mode 100644 index efc2ab416..000000000 --- a/community/gtest/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 80934 2012-12-07 06:58:41Z 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 -pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)" -arch=('i686' 'x86_64') -url="http://code.google.com/p/googletest/" -license=('custom:BSD3') -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" - - rm -rf build - mkdir build - cd build - - cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON .. - make -} - -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 -} - -# vim:set ts=2 sw=2 et: |