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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:00:55 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:00:55
  Author: felixonmars
Revision: 752177

archrelease: copy trunk to community-staging-any

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

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

Copied: cxxtest/repos/community-staging-any/PKGBUILD (from rev 752173, cxxtest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:00:55 UTC (rev 752177)
@@ -0,0 +1,32 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# 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=8
+pkgdesc='Unit testing framework for C++'
+arch=(any)
+url='https://cxxtest.com/'
+license=(LGPL)
+makedepends=(git)
+depends=(python)
+source=("git+https://github.com/CxxTest/cxxtest#tag=$pkgver")
+md5sums=('SKIP')
+
+package() {
+  cd "$pkgname"
+  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
+}
+
+# getver: raw.githubusercontent.com/CxxTest/cxxtest/master/doc/guide.txt
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list