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

Felix Yan felixonmars at archlinux.org
Tue Feb 21 16:17:36 UTC 2017


    Date: Tuesday, February 21, 2017 @ 16:17:35
  Author: felixonmars
Revision: 213348

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

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

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

Copied: cmark/repos/community-staging-i686/PKGBUILD (from rev 213347, cmark/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-21 16:17:35 UTC (rev 213348)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.27.1
+pkgrel=1
+pkgdesc="CommonMark parsing and rendering library and program in C"
+arch=('i686' 'x86_64')
+url="https://github.com/jgm/cmark"
+license=('custom:BSD2')
+depends=('glibc')
+makedepends=('cmake' 'python' 'git')
+source=("git+https://github.com/jgm/cmark.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX="/usr" ../cmark
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package() {
+  cd build
+  make install DESTDIR="$pkgdir/"
+
+  install -D -m 644 "$srcdir"/cmark/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}

Copied: cmark/repos/community-staging-x86_64/PKGBUILD (from rev 213347, cmark/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-21 16:17:35 UTC (rev 213348)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.27.1
+pkgrel=1
+pkgdesc="CommonMark parsing and rendering library and program in C"
+arch=('i686' 'x86_64')
+url="https://github.com/jgm/cmark"
+license=('custom:BSD2')
+depends=('glibc')
+makedepends=('cmake' 'python' 'git')
+source=("git+https://github.com/jgm/cmark.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX="/usr" ../cmark
+  make
+}
+
+check() {
+  cd build
+  make test
+}
+
+package() {
+  cd build
+  make install DESTDIR="$pkgdir/"
+
+  install -D -m 644 "$srcdir"/cmark/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list