aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel/APKBUILD
blob: d5154340240c21b5b232ea0648efd1f888436c29 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=parallel
pkgver=20180622
pkgrel=0
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"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2"

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

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

sha512sums="c8ad8e747464ddfb59e1dcdb626c8a25b2da75f41e7a93e6a18a59b7370baf9f00810827868180034ca94f3eb2028452baf8cab41c5b76f91ed4d4a45c06cd24  parallel-20180622.tar.bz2"