Commit f04a10d9 authored by alice's avatar alice 🗡
Browse files

main/parallel: upgrade to 20220622

parent 17106041
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=parallel
pkgver=20220522
pkgver=20220622
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/parallel/parallel-$pkgver.tar.bz2"
depends="autoconf automake perl"
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
source="https://ftp.gnu.org/gnu/parallel/parallel-$pkgver.tar.bz2
completion-dir.patch
"
prepare() {
default_prepare
autoreconf -fvi
}
build() {
./configure \
......@@ -28,5 +35,6 @@ package() {
}
sha512sums="
45dd1abe8652d29cd054505263b4ed792f42d7d6799ebdbfec07c21d54437d7243a054adff1d6c987eb85260d7ead2a9bb4dacb9d54a8a5b332218e27cf4f62c parallel-20220522.tar.bz2
d01d86cd2ac373534d147eee8aa666fe26e7207362ea9c036c3744125f72c936d15cf2059429636454f21c8e8c6b3a60c8d761ddfde97ba7388d2cd00495bfa4 parallel-20220622.tar.bz2
9c44648d220d2c9eb15e5d0dca25f0a62091f8f9e1233df04d31639c7833ddc1d60a654a261b352a37894f4ed445f5c26ce39cbe145982cfc95991ad873de0fc completion-dir.patch
"
--- a/Makefile.am
+++ b/Makefile.am
@@ -167,12 +167,12 @@
cd parallel-$(YYYYMMDD) && \
./configure && make -j && sudo make -j install
-zshcompletiondir=${datarootdir}/zsh/site-functions
+zshcompletiondir=${DESTDIR}/${datarootdir}/zsh/site-functions
zshcompletion=${zshcompletiondir}/_parallel
install-data-hook:
- mkdir -p ${datarootdir}/bash-completion/completions
+ mkdir -p ${DESTDIR}/${datarootdir}/bash-completion/completions
mkdir -p ${zshcompletiondir}
- parallel --shell-completion bash > ${datarootdir}/bash-completion/completions/parallel
+ ./src/parallel --shell-completion bash > ${DESTDIR}/${datarootdir}/bash-completion/completions/parallel
echo '#compdef parallel' > ${zshcompletion}
echo '(( $$+functions[_comp_parallel] )) ||' >> ${zshcompletion}
echo ' eval "$$(parallel --shell-completion auto)" &&' >> ${zshcompletion}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment