22 lines
684 B
Bash
22 lines
684 B
Bash
# Template file for 'pari-nflistdata'
|
|
pkgname=pari-nflistdata
|
|
version=20220326
|
|
revision=1
|
|
create_wrksrc=yes
|
|
short_desc="PARI/GP database needed by nflist"
|
|
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=f298af350a0d329bb3b8d4ff6880865be213098d106b484d5477b1dc2e06b90f
|
|
|
|
do_build() {
|
|
# compressed data files work ok (install-size: 15M -> 8.8M)
|
|
find data -type f -size +4k -print0 | xargs -0 gzip -9
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share/pari
|
|
vcopy "data/*" usr/share/pari
|
|
}
|