[arch-commits] Commit in cmark/repos (4 files)
Felix Yan
fyan at archlinux.org
Sun Mar 27 03:22:30 UTC 2016
Date: Sunday, March 27, 2016 @ 05:22:30
Author: fyan
Revision: 168528
archrelease: copy trunk to community-i686, community-x86_64
Added:
cmark/repos/community-i686/
cmark/repos/community-i686/PKGBUILD
(from rev 168527, cmark/trunk/PKGBUILD)
cmark/repos/community-x86_64/
cmark/repos/community-x86_64/PKGBUILD
(from rev 168527, cmark/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Copied: cmark/repos/community-i686/PKGBUILD (from rev 168527, cmark/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-03-27 03:22:30 UTC (rev 168528)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.25.2
+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-x86_64/PKGBUILD (from rev 168527, cmark/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-03-27 03:22:30 UTC (rev 168528)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.25.2
+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