diff options
Diffstat (limited to 'libmpfr/Pkgfile')
-rw-r--r-- | libmpfr/Pkgfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index c73f1119..1e96aa12 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -4,12 +4,14 @@ # Depends on: libgmp name=libmpfr -version=3.0.0 +version=3.0.0-p3 release=1 -source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz) +source=(http://www.mpfr.org/mpfr-$version/mpfr-${version%-*}.tar.xz + $name-$version.patch.gz) build() { - cd mpfr-$version + cd mpfr-${version%-*} + gunzip -c $SRC/$name-$version.patch.gz | patch -p1 ./configure --prefix=/usr make make DESTDIR=$PKG install |