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