summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-27 21:01:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-27 21:01:47 (GMT)
commitb4411da343b06e5e7a49d9d78ce68f25fafd7024 (patch)
tree2a9a2cfaecb974cc41b79d595619cb545ff5d683 /abs
parent7a968ad5dc01095ca8ef075c898e38b29ae27286 (diff)
downloadlinhes_pkgbuild-b4411da343b06e5e7a49d9d78ce68f25fafd7024.zip
linhes_pkgbuild-b4411da343b06e5e7a49d9d78ce68f25fafd7024.tar.gz
linhes_pkgbuild-b4411da343b06e5e7a49d9d78ce68f25fafd7024.tar.bz2
cmark: dep of mkvtoolnix
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/cmark/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/extra/cmark/PKGBUILD b/abs/extra/cmark/PKGBUILD
new file mode 100644
index 0000000..d73ca57
--- /dev/null
+++ b/abs/extra/cmark/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen@rojekti.fi>
+
+pkgname=cmark
+pkgver=0.28.3
+pkgrel=1
+pkgdesc="CommonMark parsing and rendering library and program in C"
+arch=('x86_64')
+url="https://github.com/jgm/cmark"
+license=('custom:BSD2')
+depends=('glibc')
+makedepends=('cmake' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jgm/cmark/archive/$pkgver.tar.gz")
+sha512sums=('409105a3228a8ae22ba6acf95cd99bc9a2c20f8603aa0e803a33172eb6ef53f80f8f0262d2258b77f9fd6e1f2e9017a6c906b88f761e053c09ef88c9ffab7d29')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib ../cmark-$pkgver
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make install DESTDIR="$pkgdir"
+
+ install -D -m 644 "$srcdir"/cmark-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}