[arch-commits] Commit in cmark/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jun 20 21:16:59 UTC 2021


    Date: Sunday, June 20, 2021 @ 21:16:59
  Author: arojas
Revision: 418510

archrelease: copy trunk to staging-x86_64

Added:
  cmark/repos/staging-x86_64/
  cmark/repos/staging-x86_64/PKGBUILD
    (from rev 418509, cmark/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: cmark/repos/staging-x86_64/PKGBUILD (from rev 418509, cmark/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-06-20 21:16:59 UTC (rev 418510)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.30.0
+pkgrel=1
+pkgdesc='CommonMark parsing and rendering library and program in C'
+arch=(x86_64)
+url='https://github.com/jgm/cmark'
+license=('custom:BSD2')
+depends=(glibc)
+makedepends=(cmake python)
+source=(https://github.com/jgm/cmark/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('53bbb8cdcac5431b88000f69df0aecfc7bd0d9ec0f7bc5a343281ca75e98304ef2674f55f76733acd81f8e8b9079eefabc9b3f3ef7dcd64087497282f17034a9')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm 644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list