summaryrefslogtreecommitdiff
path: root/user/unittest-cpp/APKBUILD
blob: 647b16973b6b07f743dc30e5111daccb974eec4a (plain) (blame)
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
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=unittest-cpp
pkgver=2.0.0
pkgrel=0
pkgdesc="Lightweight unit testing framework for C++"
url=" "
arch="all"
license="MIT"
depends=""
makedepends="bash"
subpackages="$pkgname-dev"
source="https://github.com/unittest-cpp/unittest-cpp/releases/download/v$pkgver/unittest-cpp-$pkgver.tar.gz"

build() {
	bash ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="51b37055dbe2a8772a59047f900202332b75be8801af94496848503c6b652d34f5e2a62c92555d492e2265d35fc6befb5bd4209364f7a4e7c9f2f5988537fae6  unittest-cpp-2.0.0.tar.gz"