aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmark
diff options
context:
space:
mode:
authorMarian Buschsieweke <m.buschsieweke@uni-muenster.de>2016-05-28 11:34:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-11 18:08:23 +0000
commitb7021aa1efe27d8ea7abbc4edeefc8263f862bc7 (patch)
treed4c4e62dcc4dd5ff06b9d40dfb77fdc0d616b737 /testing/cmark
parent35a3edf4bad28448972377a37af3e9b8a1b15a44 (diff)
downloadaports-b7021aa1efe27d8ea7abbc4edeefc8263f862bc7.tar.bz2
aports-b7021aa1efe27d8ea7abbc4edeefc8263f862bc7.tar.xz
testing/cmark: new aport
C reference implementation of CommonMark, a rationalized Markdown spec
Diffstat (limited to 'testing/cmark')
-rw-r--r--testing/cmark/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/cmark/APKBUILD b/testing/cmark/APKBUILD
new file mode 100644
index 0000000000..7e1715336b
--- /dev/null
+++ b/testing/cmark/APKBUILD
@@ -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"