pari-galdata: several improvements

- fix license
- change homepage
- rename distfiles to include version in name
- drop depends on pari so pari can checkdepends on this (cf #29159, #32614)
- add update file
- change of maintainer agreed by motorto
This commit is contained in:
Gonzalo Tornaría 2021-08-22 18:10:27 -03:00 committed by Leah Neukirchen
parent 6e97e03fa8
commit 4d34bf053d
2 changed files with 13 additions and 9 deletions

View file

@ -1,17 +1,16 @@
# Template file for 'pari-galdata'
pkgname=pari-galdata
version=20080411
revision=1
revision=2
create_wrksrc=yes
depends="pari"
short_desc="PARI database needed to compute Galois group in degrees 8 through 11"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://pari.math.u-bordeaux.fr/"
distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/galdata.tgz"
short_desc="PARI/GP database needed to compute Galois group in degrees 8 through 11"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://pari.math.u-bordeaux.fr/packages.html"
distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/${pkgname#pari-}.tgz>${pkgname}-${version}.tar.gz"
checksum=b7c1650099b24a20bdade47a85a928351c586287f0d4c73933313873e63290dd
do_install() {
vmkdir usr/share/pari/galdata
vcopy data/galdata usr/share/pari
vmkdir usr/share/pari
vcopy "data/*" usr/share/pari
}

View file

@ -0,0 +1,5 @@
site="http://pari.math.u-bordeaux.fr/pub/pari/packages/"
pattern="href=\"${pkgname#pari-}.t(ar|gz)\".*\K\d\d\d\d-\d\d-\d\d(?= \d\d:\d\d )"
version=${version:0:4}.${version:4:2}.${version:6:2}
# the current version 20080411 is reported as 2008-04-12 by website
ignore=2008-04-12