void-packages/srcpkgs/sage-data-elliptic_curves/template

22 lines
880 B
Bash

# 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 <tornaria@cmat.edu.uy>"
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
}