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

21 lines
902 B
Bash

# Template file for 'sage-data-conway_polynomials'
pkgname=sage-data-conway_polynomials
version=0.5
revision=1
hostmakedepends="python3"
short_desc="Database of Conway polynomials over finite fields"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="Public Domain, GPL-2.0-or-later"
homepage="https://mirrors.mit.edu/sage/spkg/upstream/conway_polynomials/"
distfiles="https://mirrors.mit.edu/sage/spkg/upstream/conway_polynomials/conway_polynomials-$version.tar.bz2
https://github.com/sagemath/sage/raw/9.4/build/pkgs/conway_polynomials/spkg-install.py"
checksum="d8f2788a85b1c2482cc4abe1a35d3da777445e21ec49b031d36b899e3c0deb17
da85e913282d059ca36e14cefc92f891da469e8d7127f13a1ce96c6fb5c296af"
skip_extraction=spkg-install.py
do_install() {
ln -s . src
SAGE_SHARE=${DESTDIR}/usr/share/sagemath PYTHONPATH=${PWD} \
python3 ${XBPS_SRCDISTDIR}/${pkgname}-${version}/spkg-install.py
}