[arch-commits] Commit in cmark-gfm/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Aug 26 13:16:14 UTC 2018


    Date: Sunday, August 26, 2018 @ 13:16:14
  Author: felixonmars
Revision: 374223

archrelease: copy trunk to community-staging-x86_64

Added:
  cmark-gfm/repos/community-staging-x86_64/
  cmark-gfm/repos/community-staging-x86_64/PKGBUILD
    (from rev 374222, cmark-gfm/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: cmark-gfm/repos/community-staging-x86_64/PKGBUILD (from rev 374222, cmark-gfm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-26 13:16:14 UTC (rev 374223)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark-gfm
+pkgver=0.28.3.gfm.15
+pkgrel=1
+pkgdesc="GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C"
+arch=('x86_64')
+url="https://github.com/github/cmark"
+license=('custom:BSD2')
+depends=('glibc')
+makedepends=('cmake' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/github/cmark/archive/$pkgver.tar.gz")
+sha512sums=('c1005fc465d1ab13c30e2689b03ec481296f42c06fc28e5973d4fe426c0e05eb80abf2532bdc11e0352a753f2675a43f9b2441b4ef055251ac0302a0446247cc')
+
+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
+}



More information about the arch-commits mailing list