[arch-commits] Commit in cmocka/repos (4 files)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Wed Apr 23 16:53:25 UTC 2014
Date: Wednesday, April 23, 2014 @ 18:53:25
Author: anatolik
Revision: 110062
archrelease: copy trunk to community-i686, community-x86_64
Added:
cmocka/repos/community-i686/
cmocka/repos/community-i686/PKGBUILD
(from rev 110061, cmocka/trunk/PKGBUILD)
cmocka/repos/community-x86_64/
cmocka/repos/community-x86_64/PKGBUILD
(from rev 110061, cmocka/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
Copied: cmocka/repos/community-i686/PKGBUILD (from rev 110061, cmocka/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-04-23 16:53:25 UTC (rev 110062)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=cmocka
+url='http://cmocka.org/'
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='an elegant unit testing framework for C with support for mock objects'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://open.cryptomilk.org/attachments/download/37/cmocka-$pkgver.tar.xz)
+sha1sums=('7fe27a6fdcf60222cf15ae67aeee83139180a759')
+
+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-x86_64/PKGBUILD (from rev 110061, cmocka/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-04-23 16:53:25 UTC (rev 110062)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=cmocka
+url='http://cmocka.org/'
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='an elegant unit testing framework for C with support for mock objects'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glibc)
+makedepends=(cmake)
+source=(https://open.cryptomilk.org/attachments/download/37/cmocka-$pkgver.tar.xz)
+sha1sums=('7fe27a6fdcf60222cf15ae67aeee83139180a759')
+
+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