diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..50699dd --- /dev/null +++ b/check-version.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +URL="https://www.mpfr.org/mpfr-current/" + +# Get version number +VERSION=$(curl -s -L "$URL" | grep 'GNU MPFR version ' | grep -o -E '[0-9]{1,}.[0-9]{1,}(\.[0-9]{1,}|)') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index c64a703..3f407e3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,8 @@ name: mpfr description: Multiple-precision floating-point library -version: 4.2.1 -revision: 2 +version: 4.2.2 url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz license: GPL3-or-later,LGPL3-or-later architecture: any depends: ["glibc","gmp"] -make_depends: ["bash","binutils","coreutils","diffutils","gawk","gcc","glibc","grep","gmp","make","sed","texinfo"] type: source