aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-08-22 19:47:30 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-08-22 19:50:45 +0200
commit10325df5c8c8350571684502c3e78318a9fcf6e1 (patch)
tree6113b3a196ef8712c298b0f90c73f969f93f65ee /main/parallel
parentdcec21da6653addf39992446ccfc340d0a0e9ef6 (diff)
downloadaports-10325df5c8c8350571684502c3e78318a9fcf6e1.tar.bz2
aports-10325df5c8c8350571684502c3e78318a9fcf6e1.tar.xz
main/parallel: modernize APKBUILD
Diffstat (limited to 'main/parallel')
-rw-r--r--main/parallel/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/parallel/APKBUILD b/main/parallel/APKBUILD
index 1185a2ce75..c47eedd020 100644
--- a/main/parallel/APKBUILD
+++ b/main/parallel/APKBUILD
@@ -9,6 +9,7 @@ url="http://www.gnu.org/software/parallel/"
license="GPL3"
depends="perl"
subpackages="$pkgname-doc"
+options="!check"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
@@ -20,14 +21,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="f2a790fc0ddd8cfe568b75208a13ecb1fb8f1eac94ed948b94c69fdf067967d9fba43435b204474c0cb7f09b0420b21bec2d23436e8638ecf293b189fc247105 parallel-20170722.tar.bz2"