[arch-commits] Commit in cxxtest/repos (2 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon Mar 17 15:57:52 UTC 2014
Date: Monday, March 17, 2014 @ 16:57:52
Author: arodseth
Revision: 107493
archrelease: copy trunk to community-staging-any
Added:
cxxtest/repos/community-staging-any/
cxxtest/repos/community-staging-any/PKGBUILD
(from rev 107492, cxxtest/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: cxxtest/repos/community-staging-any/PKGBUILD (from rev 107492, cxxtest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2014-03-17 15:57:52 UTC (rev 107493)
@@ -0,0 +1,38 @@
+# $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.3
+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=('356d0f4810e8eb5c344147a0cca50fc0d84122c286e7644b61cb365c2ee22083')
+
+prepare() {
+ sed -i 's:env python:python3:g' "$pkgname-$pkgver/bin/cxxtestgen"
+}
+
+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