aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmark/APKBUILD
blob: 72699b5af29e5f96c27b313d1c1c54dfed308676 (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
# Maintainer: Marian <m.buschsieweke@uni-muenster.de>
pkgname=cmark
pkgver=0.28.3
pkgrel=0
pkgdesc="C reference implementation of CommonMark, a rationalized Markdown spec"
url="https://github.com/jgm/cmark"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="re2c cmake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jgm/cmark/archive/${pkgver}.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make INSTALL_PREFIX=/usr || return 1
}

package() {
	cd "$builddir"
	make INSTALL_PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}

sha512sums="409105a3228a8ae22ba6acf95cd99bc9a2c20f8603aa0e803a33172eb6ef53f80f8f0262d2258b77f9fd6e1f2e9017a6c906b88f761e053c09ef88c9ffab7d29  cmark-0.28.3.tar.gz"