[arch-commits] Commit in check/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Aug 16 07:26:14 UTC 2020


    Date: Sunday, August 16, 2020 @ 07:26:13
  Author: heftig
Revision: 394303

archrelease: copy trunk to extra-x86_64

Added:
  check/repos/extra-x86_64/PKGBUILD
    (from rev 394297, check/trunk/PKGBUILD)
Deleted:
  check/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  146 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 71 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-16 07:26:13 UTC (rev 394302)
+++ PKGBUILD	2020-08-16 07:26:13 UTC (rev 394303)
@@ -1,75 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
-
-pkgbase=check
-pkgname=(check check-docs)
-pkgver=0.15.0
-pkgrel=2
-pkgdesc="A unit testing framework for C"
-url="https://libcheck.github.io/check/"
-arch=(x86_64)
-license=(LGPL)
-makedepends=(git texlive-bin texi2html doxygen awk cmake)
-_commit=aa8657b149ad290bee7c6855ad97f10f1522ebbb  # tags/0.15.0
-source=("git+https://github.com/libcheck/check#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd check
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd check
-
-  # Fix format warnings
-  git cherry-pick -n 02128563709a 17fdbf2c3d52 8c6788e66e04
-
-  autoreconf -fvi
-}
-
-build() {
-  CFLAGS+=" -Wno-format-extra-args"
-
-  cmake -Hcheck -Bcmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
-    -DAWK_GSUB_DBL_BSLASH='\\\\'
-  cmake --build cmake
-
-  cd check
-  ./configure --prefix=/usr --disable-timeout-tests
-  make all doc/doxygen doc/check_html
-}
-
-check() {
-  CTEST_OUTPUT_ON_FAILURE=1 cmake --build cmake --target test
-
-  cd check
-  make check
-}
-
-package_check() {
-  depends=(awk)
-  optdepends=('check-docs: Documentation')
-  provides=(libcheck.so)
-
-  DESTDIR="$pkgdir" cmake --build cmake --target install
-
-  DESTDIR="$srcdir/tmp" make -C check install
-  mv tmp/usr/share/{aclocal,info} "$pkgdir/usr/share"
-  mv tmp/usr/share/doc .
-  rm -rv tmp
-}
-
-package_check-docs() {
-  pkgdesc+=" (documentation)"
-
-  cp -a check/doc/doxygen/html doc/check/doxygen
-  cp -a check/doc/check_html   doc/check/manual
-
-  mkdir -p "$pkgdir/usr/share"
-  mv doc "$pkgdir/usr/share"
-}

Copied: check/repos/extra-x86_64/PKGBUILD (from rev 394297, check/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-16 07:26:13 UTC (rev 394303)
@@ -0,0 +1,71 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
+
+pkgbase=check
+pkgname=(check check-docs)
+pkgver=0.15.2
+pkgrel=1
+pkgdesc="A unit testing framework for C"
+url="https://libcheck.github.io/check/"
+arch=(x86_64)
+license=(LGPL)
+makedepends=(git texlive-bin texi2html doxygen awk cmake)
+_commit=11970a7e112dfe243a2e68773f014687df2900e8  # tags/0.15.2
+source=("git+https://github.com/libcheck/check#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd check
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd check
+  autoreconf -fvi
+}
+
+build() {
+  CFLAGS+=" -Wno-format-extra-args"
+
+  cmake -Hcheck -Bcmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
+    -DAWK_GSUB_DBL_BSLASH='\\\\'
+  cmake --build cmake
+
+  cd check
+  ./configure --prefix=/usr --disable-timeout-tests
+  make all doc/doxygen doc/check_html
+}
+
+check() {
+  CTEST_OUTPUT_ON_FAILURE=1 cmake --build cmake --target test
+
+  cd check
+  make check
+}
+
+package_check() {
+  depends=(awk)
+  optdepends=('check-docs: Documentation')
+  provides=(libcheck.so)
+
+  DESTDIR="$pkgdir" cmake --build cmake --target install
+
+  DESTDIR="$srcdir/tmp" make -C check install
+  mv tmp/usr/share/{aclocal,info} "$pkgdir/usr/share"
+  mv tmp/usr/share/doc .
+  rm -rv tmp
+}
+
+package_check-docs() {
+  pkgdesc+=" (documentation)"
+
+  cp -a check/doc/doxygen/html doc/check/doxygen
+  cp -a check/doc/check_html   doc/check/manual
+
+  mkdir -p "$pkgdir/usr/share"
+  mv doc "$pkgdir/usr/share"
+}



More information about the arch-commits mailing list