diff --git a/community/arpack/APKBUILD b/community/arpack/APKBUILD index f08d0e62ee860fbfcfb467f1ac9aca33ff1ff300..009c1b1cd4f02b5a152598cf0762f0e27799e229 100644 --- a/community/arpack/APKBUILD +++ b/community/arpack/APKBUILD @@ -23,7 +23,7 @@ if [ "$CARCH" = "x86_64" ]; then fi prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" ./bootstrap @@ -32,7 +32,7 @@ prepare() { build() { cd "$builddir" - _build || return 1 + _build if [ "$_ilp64" = yes ]; then msg "Building with ILP64..." @@ -42,8 +42,7 @@ build() { SYMBOLSUFFIX=_64 \ INTERFACE64=1 \ --with-blas=openblas64_ \ - --with-lapack=openblas64_ \ - || return 1 + --with-lapack=openblas64_ fi } @@ -52,22 +51,22 @@ _build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - "$@" || return 1 + "$@" make } package() { if [ "$_ilp64" = yes ]; then - make -C "$_builddir64" DESTDIR="$pkgdir" install || return 1 + make -C "$_builddir64" DESTDIR="$pkgdir" install fi cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -D -m644 COPYING \ - "$pkgdir/usr/share/licenses/$pkgname/COPYING" || return 1 + "$pkgdir"/usr/share/licenses/$pkgname/COPYING - install -d "$pkgdir"/usr/share/doc/$pkgname || return 1 + install -d "$pkgdir"/usr/share/doc/$pkgname mv DOCUMENTS/* "$pkgdir"/usr/share/doc/$pkgname/ }