[arch-commits] Commit in cmark/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Jun 20 21:31:06 UTC 2021
Date: Sunday, June 20, 2021 @ 21:31:06
Author: arojas
Revision: 418514
archrelease: copy trunk to staging-x86_64
Added:
cmark/repos/staging-x86_64/PKGBUILD
(from rev 418513, cmark/trunk/PKGBUILD)
Deleted:
cmark/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 31 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-20 21:30:55 UTC (rev 418513)
+++ PKGBUILD 2021-06-20 21:31:06 UTC (rev 418514)
@@ -1,30 +0,0 @@
-# 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
-}
Copied: cmark/repos/staging-x86_64/PKGBUILD (from rev 418513, cmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-20 21:31:06 UTC (rev 418514)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Veeti Paananen <veeti.paananen at rojekti.fi>
+
+pkgname=cmark
+pkgver=0.30.0
+pkgrel=2
+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 \
+ -DCMARK_STATIC=OFF
+ 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