| 1 | # Contributor: Roberto Oliveira <[email protected]> |
| 2 | # Maintainer: Roberto Oliveira <[email protected]> |
| 3 | pkgname=cpptest |
| 4 | pkgver=2.0.0 |
| 5 | pkgrel=2 |
| 6 | pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++" |
| 7 | url="https://github.com/cpptest/cpptest" |
| 8 | arch="all" |
| 9 | license="LGPL-2.0-or-later" |
| 10 | subpackages="$pkgname-dev" |
| 11 | source="https://github.com/cpptest/cpptest/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" |
| 12 | |
| 13 | prepare() { |
| 14 | default_prepare |
| 15 | update_config_guess |
| 16 | } |
| 17 | |
| 18 | build() { |
| 19 | ./configure --prefix=/usr |
| 20 | make |
| 21 | } |
| 22 | |
| 23 | check() { |
| 24 | make check |
| 25 | } |
| 26 | |
| 27 | package() { |
| 28 | make install DESTDIR="$pkgdir" |
| 29 | } |
| 30 | |
| 31 | sha512sums="72149e785881b9f2190ff28e74f5edc1056ce1de087fcccf4debbc59818c164907b5374892c7a750552b3c9d25454da0735e3da7902f4e6ef4174bc3b635248c cpptest-2.0.0.tar.gz" |