pari: update to 2.13.1.

This commit is contained in:
Đoàn Trần Công Danh 2021-02-05 16:09:48 +07:00
parent 25174e7183
commit f2b1408938

View file

@ -1,6 +1,6 @@
# Template file for 'pari'
pkgname=pari
version=2.13.0
version=2.13.1
revision=1
build_style=configure
build_helper=qemu
@ -15,7 +15,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://pari.math.u-bordeaux.fr"
distfiles="https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${version}.tar.gz"
checksum=c811946de9d2c1ed0e97ff08e80d966f9a0b55848b7688406fab229e3948ba93
checksum=81ecf7d70ccdaae230165cff627c9ce2ec297b8f22f9f40742279d85f86dfcb1
build_options="x11"
build_options_default="x11"
@ -33,15 +33,12 @@ post_patch() {
#!/bin/sh
echo "${XBPS_TARGET_MACHINE%-musl}-linux"
EOF
# No RPATH please
vsed -i -e '/runpathprefix=/s/=.*/=/' config/get_ld
}
pre_configure() {
local _date
# Reproducibility
# date's wrapper is not available in do_patch
_date=$(date +"%b %d %Y")
vsed -i -e "s/__DATE__/\"$_date\"/" src/language/paricfg.c
export LD="$CC"
if [ "$CROSS_BUILD" ]; then
export RUNTEST="/usr/bin/qemu-$XBPS_TARGET_QEMU_MACHINE-static"