# Description: A shell tool for executing jobs in parallel using one or more computers.
# URL: http://www.gnu.org/software/parallel/
# Maintainer: Tim Biermann, tbier at posteo dot de

name=parallel
version=20230622
release=1
source=(https://ftp.gnu.org/gnu/parallel/parallel-$version.tar.bz2)

build() {
  cd $name-$version

  ./configure --prefix=/usr
  make
  make DESTDIR=$PKG install

  prt-get isinst zsh || rm -r $PKG/usr/share/zsh
  prt-get isinst bash-completion || rm -r $PKG/usr/share/bash-completion

  rm -r $PKG/usr/share/doc
}
