[arch-commits] Commit in libsemigroups/repos (3 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 11 23:08:37 UTC 2020


    Date: Saturday, January 11, 2020 @ 23:08:37
  Author: arojas
Revision: 552112

archrelease: copy trunk to community-staging-x86_64

Added:
  libsemigroups/repos/community-staging-x86_64/
  libsemigroups/repos/community-staging-x86_64/PKGBUILD
    (from rev 552111, libsemigroups/trunk/PKGBUILD)
  libsemigroups/repos/community-staging-x86_64/system-fmt.patch
    (from rev 552111, libsemigroups/trunk/system-fmt.patch)

------------------+
 PKGBUILD         |   24 ++++++++++++++++++++++++
 system-fmt.patch |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: libsemigroups/repos/community-staging-x86_64/PKGBUILD (from rev 552111, libsemigroups/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-01-11 23:08:37 UTC (rev 552112)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libsemigroups
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="C++ library for semigroups and monoids"
+url="https://libsemigroups.github.io/libsemigroups/"
+arch=(x86_64)
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(fmt)
+source=(https://github.com/libsemigroups/libsemigroups/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('4956c868c41b3421da211f413b4b104b7882640ebb464314e8b12f7b6e10fcb0')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-external-fmt
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libsemigroups/repos/community-staging-x86_64/system-fmt.patch (from rev 552111, libsemigroups/trunk/system-fmt.patch)
===================================================================
--- community-staging-x86_64/system-fmt.patch	                        (rev 0)
+++ community-staging-x86_64/system-fmt.patch	2020-01-11 23:08:37 UTC (rev 552112)
@@ -0,0 +1,38 @@
+diff --git a/Makefile.am b/Makefile.am
+index 761a772..0a8391b 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -108,17 +108,6 @@ pkginclude_HEADERS += extern/HPCombi/include/vect_generic.hpp
+ endif
+ 
+ fmtincludedir = $(includedir)/fmt
+-fmtinclude_HEADERS =  extern/fmt-5.3.0/include/fmt/chrono.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/color.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/core.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format-inl.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/format.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/locale.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ostream.h	
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/posix.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/printf.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/ranges.h  
+-fmtinclude_HEADERS += extern/fmt-5.3.0/include/fmt/time.h
+ 
+ lib_LTLIBRARIES = libsemigroups.la
+ 
+diff --git a/configure.ac b/configure.ac
+index c40acdb..832d8a3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -212,11 +212,5 @@ AS_IF([test "x$enable_hpcombi" = xyes],
+ AM_CONDITIONAL([HPCOMBI_CONSTEXPR_FUN_ARGS], 
+                [test "x$hpcombi_constexpr_fun_args" = xyes])
+ 
+-AC_CHECK_FILE([$srcdir/extern/fmt-5.3.0/README.rst], 
+-               [], 
+-               []
+-               [AC_MSG_ERROR([fmt-5.3.0 is not available, please download fmt-5.3.0 from https://fmt.dev/ and put the unpacked archive in the libsemigroups/extern directory])])
+-dnl Output configured files
+-
+ AC_CONFIG_FILES([Makefile libsemigroups.pc])
+ AC_OUTPUT



More information about the arch-commits mailing list