From dee9cf454420e436b6ac3e82e99482fcb4513dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 17 Jan 2022 20:02:34 -0300 Subject: [PATCH] New package: sage-data-elliptic_curves-0.8.1 --- srcpkgs/sage-data-elliptic_curves/template | 21 +++++++++++++++++++++ srcpkgs/sage-data-elliptic_curves/update | 1 + 2 files changed, 22 insertions(+) create mode 100644 srcpkgs/sage-data-elliptic_curves/template create mode 100644 srcpkgs/sage-data-elliptic_curves/update diff --git a/srcpkgs/sage-data-elliptic_curves/template b/srcpkgs/sage-data-elliptic_curves/template new file mode 100644 index 0000000000..5103f9b873 --- /dev/null +++ b/srcpkgs/sage-data-elliptic_curves/template @@ -0,0 +1,21 @@ +# Template file for 'sage-data-elliptic_curves' +pkgname=sage-data-elliptic_curves +version=0.8.1 +revision=1 +wrksrc="elliptic_curves-$version" +hostmakedepends="python3" +short_desc="Database of elliptic curves" +maintainer="Gonzalo TornarĂ­a " +license="Public Domain, GPL-2.0-or-later" +homepage="https://mirrors.mit.edu/sage/spkg/upstream/elliptic_curves/" +distfiles="https://mirrors.mit.edu/sage/spkg/upstream/elliptic_curves/elliptic_curves-$version.tar.bz2 + https://github.com/sagemath/sage/raw/9.4/build/pkgs/elliptic_curves/spkg-install.py" +checksum="5fba5470d9d91f06282ed5edfc45bf0ea1c5f7c8d4837c46234b17be1481fd50 + 856d482872f72db47c7b718761bb1a205947b276df99b55d087a57130932cf84" +skip_extraction=spkg-install.py + +do_install() { + ln -s . src + SAGE_SHARE=${DESTDIR}/usr/share/sagemath \ + python3 ${XBPS_SRCDISTDIR}/${pkgname}-${version}/spkg-install.py +} diff --git a/srcpkgs/sage-data-elliptic_curves/update b/srcpkgs/sage-data-elliptic_curves/update new file mode 100644 index 0000000000..8155f52ce9 --- /dev/null +++ b/srcpkgs/sage-data-elliptic_curves/update @@ -0,0 +1 @@ +pkgname=elliptic_curves