singular: update to 4.3.2p3.

This commit is contained in:
Gonzalo Tornaría 2023-07-17 00:08:09 -03:00 committed by Piraty
parent 3d03d007c2
commit 67b3b9497a
2 changed files with 2 additions and 41 deletions

View File

@ -1,39 +0,0 @@
From 8d54773d6c9e2f1d2593a28bc68b7eeab54ed529 Mon Sep 17 00:00:00 2001
From: Hans Schoenemann <hannes@mathematik.uni-kl.de>
Date: Mon, 5 Jun 2023 16:40:16 +0200
Subject: [PATCH] use DESTDIR for "make install"
---
Makefile.am | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 922b21b734..2f1e5a7ec8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,17 +16,17 @@ bin_SCRIPTS = libsingular-config
install-data-local:
if test -e $(srcdir)/doc/doc.tbz2; then\
- test -e $(prefix)$(datadir) || mkdir -p $(prefix)$(datadir);\
- test -e $(prefix)$(datadir)/info || mkdir $(prefix)$(datadir)/info;\
- test -e $(prefix)$(datadir)/singular || mkdir $(prefix)$(datadir)/singular;\
- test -e $(prefix)$(htmldir) || mkdir -p $(prefix)$(htmldir);\
- (cat ${top_srcdir}/doc/doc.tbz2| (cd $(prefix)$(htmldir);tar -jx --no-same-owner -f -));\
- mv $(prefix)$(htmldir)/singular.info $(prefix)$(datadir)/info/.;\
- mv $(prefix)$(htmldir)/singular.idx $(prefix)$(datadir)/singular/.;\
+ test -e $(DESTDIR)$(datadir) || mkdir -p $(DESTDIR)$(datadir);\
+ test -e $(DESTDIR)$(datadir)/info || mkdir $(DESTDIR)$(datadir)/info;\
+ test -e $(DESTDIR)$(datadir)/singular || mkdir $(DESTDIR)$(datadir)/singular;\
+ test -e $(DESTDIR)$(htmldir) || mkdir -p $(DESTDIR)$(htmldir);\
+ (cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(htmldir);tar -jx --no-same-owner -f -));\
+ mv $(DESTDIR)$(htmldir)/singular.info $(DESTDIR)$(datadir)/info/.;\
+ mv $(DESTDIR)$(htmldir)/singular.idx $(DESTDIR)$(datadir)/singular/.;\
fi
uninstall-local:
- -(cd $(prefix)$(datadir); rm -rf singular info/singular.info)
+ -(cd $(prefix); rm -rf singular info/singular.info)
configheaderdir = ${includedir}/singular
nodist_configheader_HEADERS = singularconfig.h

View File

@ -1,6 +1,6 @@
# Template file for 'singular'
pkgname=singular
version=4.3.2p2
version=4.3.2p3
revision=1
_majver=${version%p*}
build_style=gnu-configure
@ -20,7 +20,7 @@ maintainer="dkwo <npiazza@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://www.singular.uni-kl.de"
distfiles="https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${_majver//./-}/singular-${version}.tar.gz"
checksum=660ae93ace79db4209203770d93baf16b5b741dc26b6bae06c9b2c98ad188df1
checksum=9f7cfc838eb16c976369e498845f69551a95c4bc9d6d6cfbb4657836aae5ff3e
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" ntl-devel"