aboutsummaryrefslogtreecommitdiffstats
path: root/community/ucpp/APKBUILD
blob: 85c0649ba5b638a3d480613deefda66225fd6ea2 (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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=ucpp
pkgver=1.3.5
pkgrel=0
pkgdesc="C preprocessor which is embeddable, quick, light and C99 compliant"
options="!check" # No testsuite
url="https://gitlab.com/scarabeusiv/ucpp"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc $pkgname-dev lib$pkgname:libs"
source="https://gitlab.com/scarabeusiv/ucpp/uploads/79f08e39c676f15ed8a59335f6c9b924/ucpp-${pkgver}.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

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

sha512sums="3ded8f7bc2b238adb6e7f4162aee48e039dfe7cee31b700c38e8f147634d47cd1ceaf39c343549b0d4a58358e6b9743f7e84f87b253dc19c05e543d68ade24ce  ucpp-1.3.5.tar.xz"