void-packages/srcpkgs/pari-nftables/update

4 lines
192 B
Text
Raw Normal View History

2021-08-26 13:44:42 +00:00
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}