aboutsummaryrefslogtreecommitdiffstats
path: root/community/ucpp/APKBUILD
blob: 994123d65e46a6fa378d21be0ce62ce71613c3ad (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: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=ucpp
pkgver=1.3.2
pkgrel=0
pkgdesc="C preprocessor which is embeddable, quick, light and C99 compliant"
url="https://code.google.com/p/ucpp/"
arch="all"
license="BSD"
depends=""
makedepends=""
install=""
subpackages=""
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-$pkgver.tar.bz2"

builddir="$srcdir"/ucpp
build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	install -dm755 "$pkgdir"/usr/bin
	install -m755 ucpp "$pkgdir"/usr/bin/
}

md5sums="7b3f0d9381fd8518ae895a66235936d1  ucpp-1.3.2.tar.bz2"
sha256sums="ab7ecc5ba2c2617fa14cd0a939c1e87ed789c59767fb39fc9b7d0ebf63a81635  ucpp-1.3.2.tar.bz2"
sha512sums="a8a22162c0e26bc8281928f921f4e531108ba02658fd9c7a1760ae2fe938c910215aa4db02e5c7f0c5ea1aa66d89157bc780f2f13c57fa603de6c2d0c48cfd32  ucpp-1.3.2.tar.bz2"