void-packages/srcpkgs/pari-nftables/template

22 lines
671 B
Bash
Raw Normal View History

2021-08-26 15:44:42 +02:00
# 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 <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=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
}