aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mpfr3/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/mpfr3/APKBUILD b/main/mpfr3/APKBUILD
index c37e0c0cea..a74cccb4c1 100644
--- a/main/mpfr3/APKBUILD
+++ b/main/mpfr3/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpfr3
pkgver=3.1.5
-pkgrel=0
+pkgrel=1
pkgdesc="multiple-precision floating-point library"
url="http://www.mpfr.org/"
arch="all"
@@ -21,14 +21,18 @@ build() {
--host=$CHOST \
--with-sysroot="$CBUILDROOT" \
--prefix=/usr \
- --enable-shared \
- || return 1;
- make || return 1
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1;
+ make DESTDIR="$pkgdir" install
}
dev() {