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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:11:09 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:11:07
  Author: foutrelis
Revision: 405462

archrelease: copy trunk to community-staging-x86_64

Added:
  unittestpp/repos/community-staging-x86_64/
  unittestpp/repos/community-staging-x86_64/PKGBUILD
    (from rev 405461, unittestpp/trunk/PKGBUILD)

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

Copied: unittestpp/repos/community-staging-x86_64/PKGBUILD (from rev 405461, unittestpp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-10 00:11:07 UTC (rev 405462)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Martin Wimpress <code at flexion.org>
+# Contributor: Jorge Araya Navarro <elcorreo at deshackra.com>
+# Contributor: Piotr Beling <qwak at w8.pl>
+# Contributor: Vianney le Clément <vleclement AT gmail · com>
+
+pkgname=unittestpp
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Lightweight unit testing framework for C++'
+url='https://github.com/unittest-cpp/unittest-cpp/'
+arch=('x86_64')
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cmake')
+options=('staticlibs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/unittest-cpp/unittest-cpp/archive/v${pkgver}.tar.gz)
+sha256sums=('74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9')
+sha512sums=('39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab')
+
+prepare() {
+  mkdir -p unittest-cpp-${pkgver}/build
+}
+
+build() {
+  cd unittest-cpp-${pkgver}/build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make all
+}
+
+package() {
+  cd unittest-cpp-${pkgver}
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list