[arch-commits] Commit in cmark-gfm/repos (2 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Jan 20 20:00:46 UTC 2022
Date: Thursday, January 20, 2022 @ 20:00:46
Author: alerque
Revision: 1111554
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 1111553, cmark-gfm/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: cmark-gfm/repos/community-staging-x86_64/PKGBUILD (from rev 1111553, cmark-gfm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-01-20 20:00:46 UTC (rev 1111554)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark-gfm
+pkgver=0.29.0.gfm.2
+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=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4623989cc34c3d9c9596e27a8253d2ab26ecf0cbe8c2a6d802ab543c0310b90abae53364326ab8d5599d38a8cca001cf39931081bbc96c01f52283ff1cca1994')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ ../cmark-gfm-$pkgver
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make install DESTDIR="$pkgdir"
+ install -Dm0644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/cmark-gfm-$pkgver/COPYING
+}
More information about the arch-commits
mailing list