[arch-commits] Commit in tut/repos (community-any community-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Mon Nov 2 07:25:06 UTC 2015


    Date: Monday, November 2, 2015 @ 08:25:06
  Author: fyan
Revision: 145556

archrelease: copy trunk to community-any

Added:
  tut/repos/community-any/
  tut/repos/community-any/PKGBUILD
    (from rev 145555, tut/trunk/PKGBUILD)

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

Copied: tut/repos/community-any/PKGBUILD (from rev 145555, tut/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-11-02 07:25:06 UTC (rev 145556)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=tut
+pkgver=0.0.4
+pkgrel=1
+pkgdesc="C++ unit test framework"
+arch=('any')
+url="https://git.merproject.org/mer-core/tut"
+license=('BSD')
+makedepends=('git' 'python2')
+source=("git+https://git.merproject.org/mer-core/tut.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd tut
+  
+  python2 waf configure --prefix=/usr
+  python2 waf build
+}
+
+check() {
+  cd tut
+  
+  python2 waf test
+}
+
+package() {
+  cd tut
+
+  python2 waf install --destdir="$pkgdir"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list