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

Felix Yan felixonmars at archlinux.org
Fri Nov 3 09:08:40 UTC 2017


    Date: Friday, November 3, 2017 @ 09:08:39
  Author: felixonmars
Revision: 265279

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: cmark-gfm/repos/community-i686/PKGBUILD (from rev 265278, cmark-gfm/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-11-03 09:08:39 UTC (rev 265279)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.28.0.gfm.11
+pkgrel=1
+pkgdesc="GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C"
+arch=('i686' '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=('5c67752fec5a0bad5c95691de680f36dfd4d35705b44f506669dfdcace338372613683268a6aaabc5b4a20153c22c1ae74a8757034a5aafead6aa13067cc2c1f')
+
+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
+}

Copied: cmark-gfm/repos/community-x86_64/PKGBUILD (from rev 265278, cmark-gfm/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-11-03 09:08:39 UTC (rev 265279)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.28.0.gfm.11
+pkgrel=1
+pkgdesc="GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C"
+arch=('i686' '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=('5c67752fec5a0bad5c95691de680f36dfd4d35705b44f506669dfdcace338372613683268a6aaabc5b4a20153c22c1ae74a8757034a5aafead6aa13067cc2c1f')
+
+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