void-packages/srcpkgs/pari-nflistdata/update
2021-11-09 17:00:25 +01:00

3 lines
192 B
Text

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}