diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-11 22:43:35 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-11 22:51:16 +0200 |
commit | 0e4ef1c7898a39e18a804e93070253828ce126e1 (patch) | |
tree | 20967f65c89a6506b425ea0f1b7c5263bbd07660 /community/arpack/APKBUILD | |
parent | 906ca4151faa7d4e45365bce5aa4233708288c36 (diff) | |
download | aports-0e4ef1c7898a39e18a804e93070253828ce126e1.tar.bz2 aports-0e4ef1c7898a39e18a804e93070253828ce126e1.tar.xz |
community/arpack: remove explicit return 1
Diffstat (limited to 'community/arpack/APKBUILD')
-rw-r--r-- | community/arpack/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/community/arpack/APKBUILD b/community/arpack/APKBUILD index f08d0e62ee..009c1b1cd4 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/ } |