[arch-commits] Commit in cmocka/repos (4 files)
Date: Saturday, May 13, 2017 @ 19:38:39 Author: anthraxx Revision: 227909 archrelease: copy trunk to community-i686, community-x86_64 Added: cmocka/repos/community-i686/PKGBUILD (from rev 227908, cmocka/trunk/PKGBUILD) cmocka/repos/community-x86_64/PKGBUILD (from rev 227908, cmocka/trunk/PKGBUILD) Deleted: cmocka/repos/community-i686/PKGBUILD cmocka/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 84 community-i686/PKGBUILD | 33 - community-x86_64/PKGBUILD | 33 - 3 files changed, 84 insertions(+), 66 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-05-13 19:38:27 UTC (rev 227908) +++ community-i686/PKGBUILD 2017-05-13 19:38:39 UTC (rev 227909) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov- -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 -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-i686/PKGBUILD (from rev 227908, cmocka/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-05-13 19:38:39 UTC (rev 227909) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak +# Contributor: Anatol Pomozov + +pkgname=cmocka +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Elegant unit testing framework for C with support for mock objects' +url='https://cmocka.org/' +arch=('i686' 'x86_64') +license=('Apache') +depends=('glibc') +makedepends=('cmake') +source=(https://cmocka.org/files/1.1/cmocka-${pkgver}.tar.{xz,asc}) +sha512sums=('801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577' +'SKIP') +validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider + +prepare() { + cd ${pkgname}-${pkgver} + mkdir build +} + +build() { + cd ${pkgname}-${pkgver}/build + cmake .. \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_BUILD_TYPE=Release \ +-DUNIT_TESTING=ON + make +} + +check() { + cd ${pkgname}-${pkgver}/build + make test +} + +package() { + cd ${pkgname}-${pkgver}/build + make install DESTDIR="${pkgdir}" +} + +# vim: ts=2 sw=2 et: Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-05-13 19:38:27 UTC (rev 227908) +++ community-x86_64/PKGBUILD 2017-05-13 19:38:39 UTC (rev 227909) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov - -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 -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-x86_64/PKGBUILD (from rev 227908, cmocka/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-05-13 19:38:39 UTC (rev 227909) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak +# Contributor: Anatol Pomozov + +pkgname=cmocka +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Elegant unit testing framework for C with support for mock objects' +url='https://cmocka.org/' +arch=('i686' 'x86_64') +license=('Apache') +depends=('glibc') +makedepends=('cmake') +source=(https://cmocka.org/files/1.1/cmocka-${pkgver}.tar.{xz,asc})
[arch-commits] Commit in cmocka/repos (4 files)
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+ +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 +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 + +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 +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" +}
[arch-commits] Commit in cmocka/repos (4 files)
Date: Tuesday, May 5, 2015 @ 19:28:12 Author: anatolik Revision: 132814 archrelease: copy trunk to community-i686, community-x86_64 Added: cmocka/repos/community-i686/PKGBUILD (from rev 132813, cmocka/trunk/PKGBUILD) cmocka/repos/community-x86_64/PKGBUILD (from rev 132813, cmocka/trunk/PKGBUILD) Deleted: cmocka/repos/community-i686/PKGBUILD cmocka/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 62 community-i686/PKGBUILD | 31 -- community-x86_64/PKGBUILD | 31 -- 3 files changed, 62 insertions(+), 62 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-05-05 17:27:30 UTC (rev 132813) +++ community-i686/PKGBUILD 2015-05-05 17:28:12 UTC (rev 132814) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com - -pkgname=cmocka -url='http://cmocka.org/' -pkgver=1.0.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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) -sha1sums=('e4bcc4358549ca83ad792ae0d911194c800ab627') - -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-i686/PKGBUILD (from rev 132813, cmocka/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-05-05 17:28:12 UTC (rev 132814) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=1.0.1 +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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) +sha1sums=('f30bb65d52282331acd55cdd7c63ae6dddb1d28c') + +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 +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2015-05-05 17:27:30 UTC (rev 132813) +++ community-x86_64/PKGBUILD 2015-05-05 17:28:12 UTC (rev 132814) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com - -pkgname=cmocka -url='http://cmocka.org/' -pkgver=1.0.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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) -sha1sums=('e4bcc4358549ca83ad792ae0d911194c800ab627') - -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 132813, cmocka/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-05-05 17:28:12 UTC (rev 132814) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=1.0.1 +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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) +sha1sums=('f30bb65d52282331acd55cdd7c63ae6dddb1d28c') + +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 +}
[arch-commits] Commit in cmocka/repos (4 files)
Date: Thursday, February 19, 2015 @ 17:13:05 Author: anatolik Revision: 127988 archrelease: copy trunk to community-i686, community-x86_64 Added: cmocka/repos/community-i686/PKGBUILD (from rev 127987, cmocka/trunk/PKGBUILD) cmocka/repos/community-x86_64/PKGBUILD (from rev 127987, cmocka/trunk/PKGBUILD) Deleted: cmocka/repos/community-i686/PKGBUILD cmocka/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 62 community-i686/PKGBUILD | 31 -- community-x86_64/PKGBUILD | 31 -- 3 files changed, 62 insertions(+), 62 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-02-19 16:12:18 UTC (rev 127987) +++ community-i686/PKGBUILD 2015-02-19 16:13:05 UTC (rev 127988) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com - -pkgname=cmocka -url='http://cmocka.org/' -pkgver=0.4.1 -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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.tar.bz2) -sha1sums=('215378198f489033d982122e34168d9d225e2f5b') - -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-i686/PKGBUILD (from rev 127987, cmocka/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-02-19 16:13:05 UTC (rev 127988) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=1.0.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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) +sha1sums=('e4bcc4358549ca83ad792ae0d911194c800ab627') + +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 +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2015-02-19 16:12:18 UTC (rev 127987) +++ community-x86_64/PKGBUILD 2015-02-19 16:13:05 UTC (rev 127988) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com - -pkgname=cmocka -url='http://cmocka.org/' -pkgver=0.4.1 -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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.tar.bz2) -sha1sums=('215378198f489033d982122e34168d9d225e2f5b') - -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 127987, cmocka/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-02-19 16:13:05 UTC (rev 127988) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=1.0.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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.zip) +sha1sums=('e4bcc4358549ca83ad792ae0d911194c800ab627') + +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 +}
[arch-commits] Commit in cmocka/repos (4 files)
Date: Tuesday, June 3, 2014 @ 03:07:06 Author: anatolik Revision: 112515 archrelease: copy trunk to community-i686, community-x86_64 Added: cmocka/repos/community-i686/PKGBUILD (from rev 112514, cmocka/trunk/PKGBUILD) cmocka/repos/community-x86_64/PKGBUILD (from rev 112514, cmocka/trunk/PKGBUILD) Deleted: cmocka/repos/community-i686/PKGBUILD cmocka/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 62 community-i686/PKGBUILD | 31 -- community-x86_64/PKGBUILD | 31 -- 3 files changed, 62 insertions(+), 62 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-06-03 01:06:23 UTC (rev 112514) +++ community-i686/PKGBUILD 2014-06-03 01:07:06 UTC (rev 112515) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@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-i686/PKGBUILD (from rev 112514, cmocka/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-06-03 01:07:06 UTC (rev 112515) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=0.4.1 +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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.tar.bz2) +sha1sums=('215378198f489033d982122e34168d9d225e2f5b') + +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 +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2014-06-03 01:06:23 UTC (rev 112514) +++ community-x86_64/PKGBUILD 2014-06-03 01:07:06 UTC (rev 112515) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov anatol.pomo...@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 112514, cmocka/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-06-03 01:07:06 UTC (rev 112515) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Anatol Pomozov anatol.pomo...@gmail.com + +pkgname=cmocka +url='http://cmocka.org/' +pkgver=0.4.1 +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=(http://git.cryptomilk.org/projects/cmocka.git/snapshot/cmocka-$pkgver.tar.bz2) +sha1sums=('215378198f489033d982122e34168d9d225e2f5b') + +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 +}
[arch-commits] Commit in cmocka/repos (4 files)
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.pomo...@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.pomo...@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 +}