[arch-commits] Commit in cxxtest/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:29:31 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:29:30
  Author: foutrelis
Revision: 140942

archrelease: copy trunk to community-staging-any

Added:
  cxxtest/repos/community-staging-any/
  cxxtest/repos/community-staging-any/PKGBUILD
    (from rev 140941, cxxtest/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: cxxtest/repos/community-staging-any/PKGBUILD (from rev 140941, cxxtest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:29:30 UTC (rev 140942)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Jeff Mickey <j at codemac.net>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+
+pkgname=cxxtest
+pkgver=4.4
+pkgrel=2
+pkgdesc='Unit testing framework for C++'
+arch=('any')
+url='http://cxxtest.com/'
+license=('LGPL')
+depends=('python')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8')
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -m 755 -d "$pkgdir/usr/"{bin,include/cxxtest}
+  install -m 755 bin/cxxtestgen "$pkgdir/usr/bin/"
+  install -m 644 cxxtest/* "$pkgdir/usr/include/cxxtest/"
+  install -dm755 "$pkgdir"/usr/share/doc/$pkgname/sample
+  install -m644 README "$pkgdir/usr/share/doc/$pkgname"
+  install -m644 doc/guide.txt "$pkgdir/usr/share/doc/$pkgname"
+
+  cp -Rf sample/* "$pkgdir/usr/share/doc/$pkgname/sample"
+
+  cd python
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list