diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/cmark/APKBUILD | 28 |
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" |