[arch-commits] Commit in cmocka/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Mon Sep 26 17:10:44 UTC 2016


    Date: Monday, September 26, 2016 @ 17:10:44
  Author: anatolik
Revision: 190629

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  cmocka/repos/community-testing-i686/
  cmocka/repos/community-testing-i686/PKGBUILD
    (from rev 190628, cmocka/trunk/PKGBUILD)
  cmocka/repos/community-testing-x86_64/
  cmocka/repos/community-testing-x86_64/PKGBUILD
    (from rev 190628, cmocka/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: cmocka/repos/community-testing-i686/PKGBUILD (from rev 190628, cmocka/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-09-26 17:10:44 UTC (rev 190629)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=cmocka
+url='http://cmocka.org/'
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='an elegant unit testing framework for C with support for mock objects'
+arch=(i686 x86_64)
+license=(Apache)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://cmocka.org/files/1.1/cmocka-$pkgver.tar.{xz,asc})
+validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
+sha1sums=('da18b3fd61ba6e567781ec2bdef6a4a0be0ae5e7'
+          'SKIP')
+
+build() {
+  rm -rf build; mkdir build
+  cd build
+  cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUNIT_TESTING=ON
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package() {
+  cd build
+  make install DESTDIR="$pkgdir"
+}

Copied: cmocka/repos/community-testing-x86_64/PKGBUILD (from rev 190628, cmocka/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-09-26 17:10:44 UTC (rev 190629)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=cmocka
+url='http://cmocka.org/'
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='an elegant unit testing framework for C with support for mock objects'
+arch=(i686 x86_64)
+license=(Apache)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://cmocka.org/files/1.1/cmocka-$pkgver.tar.{xz,asc})
+validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
+sha1sums=('da18b3fd61ba6e567781ec2bdef6a4a0be0ae5e7'
+          'SKIP')
+
+build() {
+  rm -rf build; mkdir build
+  cd build
+  cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUNIT_TESTING=ON
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package() {
+  cd build
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list