[arch-commits] Commit in coxeter/trunk (PKGBUILD coxeter-makefile.patch)

2020-05-08 Thread Antonio Rojas via arch-commits
Date: Friday, May 8, 2020 @ 08:14:26
  Author: arojas
Revision: 625547

BUILDINFO rebuild, honor CFLAGS and LDFLAGS

Modified:
  coxeter/trunk/PKGBUILD
  coxeter/trunk/coxeter-makefile.patch

+
 PKGBUILD   |5 ++---
 coxeter-makefile.patch |6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-08 07:52:10 UTC (rev 625546)
+++ PKGBUILD2020-05-08 08:14:26 UTC (rev 625547)
@@ -2,7 +2,7 @@
 
 pkgname=coxeter
 pkgver=git.20180226
-pkgrel=2
+pkgrel=3
 _commit=7b5a1f0039511326aeb616afb132a5065886b9d8
 pkgdesc="A library for the study of combinatorial aspects of Coxeter group 
theory"
 arch=(x86_64)
@@ -15,7 +15,7 @@
 source=("git+https://github.com/tscrim/coxeter#commit=$_commit; 
coxeter-sage.patch coxeter-makefile.patch)
 sha256sums=('SKIP'
 '668235f7858c4542d2856d6b36f2f1d18f14ffea685a96637992a14613a71688'
-'237403a2f668fea18aebee4d1bde9697cd44b5e3836f34452cfc9f401932465f')
+'dc82e9ce42ebd0f00eca08e771d4115370053b75d3dac1368620a1c66292c030')
 
 prepare() {
   cd coxeter
@@ -35,4 +35,3 @@
   mkdir -p "$pkgdir"/usr/{lib,bin}
   make SAGE_LOCAL="$pkgdir/usr" install
 }
-

Modified: coxeter-makefile.patch
===
--- coxeter-makefile.patch  2020-05-08 07:52:10 UTC (rev 625546)
+++ coxeter-makefile.patch  2020-05-08 08:14:26 UTC (rev 625547)
@@ -5,7 +5,7 @@
  gflags = -c $(includedirs) -g
  
  cflags = $(gflags) # the default setting
-+cflags = -c $(includedirs) -O2 -fPIC -g
++cflags = -c $(includedirs) $(CPPFLAGS) $(CXXFLAGS) -fPIC
  
  ifdef optimize
NDEBUG = true
@@ -37,7 +37,7 @@
 +  LIBPREFIX = lib
 +  LIBEXT = .so
 +  LIBDIR = lib
-+  LINKFLAGS = -shared -Wl,-soname,libcoxeter3.so
++  LINKFLAGS = $(LDFLAGS) -shared -Wl,-soname,libcoxeter3.so
 +  LINKLIBS = -lc
 +endif
 +endif
@@ -51,7 +51,7 @@
 +  $(CXX) $(LINKFLAGS) -o $(LIBRARY) $(objects) $(LINKLIBS)
 +
 +executable: $(objects)
-+  $(CXX) -o $(EXENAME)$(EXEEXT) $(objects)
++  $(CXX) $(LDFLAGS) -o $(EXENAME)$(EXEEXT) $(objects)
 +
 +DATADIR="$$SAGE_LOCAL/share/coxeter/"
 +INCLUDEDIR="$$SAGE_LOCAL/include/coxeter/"


[arch-commits] Commit in coxeter/trunk (PKGBUILD)

2018-05-07 Thread Antonio Rojas via arch-commits
Date: Monday, May 7, 2018 @ 21:11:35
  Author: arojas
Revision: 319436

Replace coxeter3

Modified:
  coxeter/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:10:54 UTC (rev 319435)
+++ PKGBUILD2018-05-07 21:11:35 UTC (rev 319436)
@@ -2,7 +2,7 @@
 
 pkgname=coxeter
 pkgver=git.20180226
-pkgrel=1
+pkgrel=2
 _commit=7b5a1f0039511326aeb616afb132a5065886b9d8
 pkgdesc="A library for the study of combinatorial aspects of Coxeter group 
theory"
 arch=(x86_64)
@@ -11,6 +11,7 @@
 depends=(gcc-libs)
 makedepends=(git)
 conflicts=(coxeter3)
+replaces=(coxeter3)
 source=("git+https://github.com/tscrim/coxeter#commit=$_commit; 
coxeter-sage.patch coxeter-makefile.patch)
 sha256sums=('SKIP'
 '668235f7858c4542d2856d6b36f2f1d18f14ffea685a96637992a14613a71688'