aboutsummaryrefslogtreecommitdiffstats
path: root/community/cpptest/APKBUILD
blob: da6ea10dc21039596954d9c20bdab4c6d3de1c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cpptest
pkgver=2.0.0
pkgrel=1
pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++"
url="https://github.com/cpptest/cpptest"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev"
source="https://github.com/cpptest/cpptest/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="72149e785881b9f2190ff28e74f5edc1056ce1de087fcccf4debbc59818c164907b5374892c7a750552b3c9d25454da0735e3da7902f4e6ef4174bc3b635248c  cpptest-2.0.0.tar.gz"