summaryrefslogtreecommitdiffstats
path: root/main/check/APKBUILD
blob: 8e4fb9467d144c7629b085583e2f23d4ef5ac8be (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
31
32
33
34
35
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=check
pkgver=0.9.9
pkgrel=0
pkgdesc="A unit test framework for C"
url="http://check.sourceforge.net/"
arch="all"
license="LGPL2+"
depends=""
depends_dev="pkgconfig"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/check/check-$pkgver.tar.gz"
_builddir="$srcdir"/check-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="f3702f2fcfc19ce3f62dca66c241a168  check-0.9.9.tar.gz"
sha256sums="1a7a9abb9d051e1b9da4149ce651436a29e20135a40bdb202bd7b2bef3878ac9  check-0.9.9.tar.gz"
sha512sums="baf986eed3ad74e24a27cae56c52c06f457022b4b627e122f80df88e648cab42d8918b0aa5d8fc1366ed533141b39d07f0ebe984756289f684b22f63cea2d46b  check-0.9.9.tar.gz"