aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel/APKBUILD
blob: 67e2d2e958b0087c54919b94a1c852b2131e52a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=parallel
pkgver=20220822
pkgrel=1
pkgdesc="Shell tool for executing jobs in parallel"
arch="noarch"
url="https://www.gnu.org/software/parallel"
license="GPL-3.0-or-later"
options="!check" # Test suite not part of src pkg
depends="perl"
makedepends="autoconf automake"
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
source="https://ftp.gnu.org/gnu/parallel/parallel-$pkgver.tar.bz2"

prepare() {
	default_prepare
	autoreconf -fvi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
d2dc3b2e59eb777e24c4564c7a9b8460ae85d587b32aa50358583d90f1beea8f321c5e93bd6adf34731a447d7fc22942c81e27a75a4b0b02616af2887be6db12  parallel-20220822.tar.bz2
"