[arch-commits] Commit in cmark/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Aug 7 14:05:35 UTC 2017
Date: Monday, August 7, 2017 @ 14:05:34
Author: felixonmars
Revision: 249446
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 249445, cmark/trunk/PKGBUILD)
cmark/repos/community-staging-x86_64/
cmark/repos/community-staging-x86_64/PKGBUILD
(from rev 249445, 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 249445, cmark/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-07 14:05:34 UTC (rev 249446)
@@ -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
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jgm/cmark/archive/$pkgver.tar.gz")
+sha512sums=('86aeb42f17440c8e743057851bc3cee9ed4b3fa27dacc37d6af54dee7739210a712020e59c102ed1852b7c3f904881cb4e9b80ea475772095514c4025284cbb6')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../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/repos/community-staging-x86_64/PKGBUILD (from rev 249445, cmark/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-08-07 14:05:34 UTC (rev 249446)
@@ -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
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jgm/cmark/archive/$pkgver.tar.gz")
+sha512sums=('86aeb42f17440c8e743057851bc3cee9ed4b3fa27dacc37d6af54dee7739210a712020e59c102ed1852b7c3f904881cb4e9b80ea475772095514c4025284cbb6')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../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