[arch-commits] Commit in doctest/repos/community-any (PKGBUILD PKGBUILD)

Santiago Torres-Arias sangy at gemini.archlinux.org
Sat Nov 27 17:32:38 UTC 2021


    Date: Saturday, November 27, 2021 @ 17:32:38
  Author: sangy
Revision: 1055073

archrelease: copy trunk to community-any

Added:
  doctest/repos/community-any/PKGBUILD
    (from rev 1055072, doctest/trunk/PKGBUILD)
Deleted:
  doctest/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   88 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 45 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-27 17:32:15 UTC (rev 1055072)
+++ PKGBUILD	2021-11-27 17:32:38 UTC (rev 1055073)
@@ -1,43 +0,0 @@
-# Maintainer: Javier Tiá <javier dot tia at gmail dot com>
-
-pkgname=doctest
-pkgver=2.4.1
-pkgrel=1
-pkgdesc='The lightest feature rich C++ single header testing framework'
-arch=('any')
-url='https://github.com/onqtam/doctest'
-license=('MIT')
-makedepends=('cmake')
-source=("${url}/archive/${pkgver}.tar.gz")
-sha256sums=('0a0f0be21ee23e36ff6b8b9d63c06a7792e04cce342e1df3dee0e40d1e21b9f0')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  mkdir build
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}/build"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DDOCTEST_WITH_TESTS=off \
-        -G"Unix Makefiles" \
-        ../
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}/build"
-  make
-  ctest -C Release --output-on-failure
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/build"
-  make DESTDIR="${pkgdir}" install
-  install -Dm 0644 ../LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: doctest/repos/community-any/PKGBUILD (from rev 1055072, doctest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-27 17:32:38 UTC (rev 1055073)
@@ -0,0 +1,45 @@
+# Maintainer: Santiago Torres-Arias <santiago in el archlinux organization>
+# Maintainer: Javier Tiá <javier dot tia at gmail dot com>
+
+pkgname=doctest
+pkgver=2.4.6
+pkgrel=1
+pkgdesc='The lightest feature rich C++ single header testing framework'
+arch=('any')
+url='https://github.com/onqtam/doctest'
+license=('MIT')
+makedepends=('cmake')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('39110778e6baf373ef04342d7cb3fe35da104cb40769103e8a2f0035f5a5f1cb')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  mkdir build
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DDOCTEST_WITH_TESTS=off \
+        -G"Unix Makefiles" \
+        ../
+  make
+}
+
+check() {
+  # FIXME: will not find tests...
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make
+  ctest -C Release --output-on-failure
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+  install -Dm 0644 ../LICENSE.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list