Skip to content

Commit

Permalink
New package: pari-nftables-20080929
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Sep 4, 2021
1 parent 80736b4 commit 088a174
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions srcpkgs/pari-nftables/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'pari-nftables'
pkgname=pari-nftables
version=20080929
revision=1
create_wrksrc=yes
short_desc="PARI/GP megrez number field tables"
maintainer="Gonzalo Tornaría <[email protected]>"
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=8dd3393ce6b3cfcf599f094f7b22bdffe17c3ba25deb912513d54676bd7cfe92

do_build() {
# compressed data files work ok (install-size: 35M -> 8M)
find . -type f -size +4k -print0 | xargs -0 gzip -9
}

do_install() {
vmkdir usr/share/pari
vcopy "*" usr/share/pari
}
3 changes: 3 additions & 0 deletions srcpkgs/pari-nftables/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
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}

0 comments on commit 088a174

Please sign in to comment.