testing/cmark: new aport

C reference implementation of CommonMark, a rationalized Markdown spec
This commit is contained in:
Marian Buschsieweke 2016-05-28 11:34:54 +02:00 committed by Natanael Copa
parent 35a3edf4ba
commit b7021aa1ef

28
testing/cmark/APKBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Marian <mari.hahn@wwu.de>
pkgname=cmark
pkgver=0.25.2
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
}
md5sums="4b2b1d076cdd9e46c1122f5611f47b9d cmark-0.25.2.tar.gz"
sha256sums="530ae56d81a370ce29ed77fd3a34628c94277320f23657f5efb402283716f29b cmark-0.25.2.tar.gz"
sha512sums="7fb50ef39ed3e9c04547d4943e63c780571d410c67535cf01ce537b05c7538ba6c24400cde0ea85c38f173294617e65332d9461e4814c8f3125bcde4aa61533f cmark-0.25.2.tar.gz"