parallel: update to 20220622.

This commit is contained in:
Leah Neukirchen 2022-06-24 18:18:49 +02:00
parent f9fba00a2e
commit be6e6a483d
2 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,23 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -929,13 +929,13 @@
cd parallel-$(YYYYMMDD) && \
./configure && make -j && sudo make -j install
install-data-hook:
- mkdir -p ${datarootdir}/bash-completion/completions
- mkdir -p ${zshcompletiondir}
- parallel --shell-completion bash > ${datarootdir}/bash-completion/completions/parallel
- echo '#compdef parallel' > ${zshcompletion}
- echo '(( $$+functions[_comp_parallel] )) ||' >> ${zshcompletion}
- echo ' eval "$$(parallel --shell-completion auto)" &&' >> ${zshcompletion}
- echo ' _comp_parallel' >> ${zshcompletion}
+ mkdir -p ${DESTDIR}${datarootdir}/bash-completion/completions
+ mkdir -p ${DESTDIR}${zshcompletiondir}
+ ./src/parallel --shell-completion bash > ${DESTDIR}${datarootdir}/bash-completion/completions/parallel
+ echo '#compdef parallel' > ${DESTDIR}${zshcompletion}
+ echo '(( $$+functions[_comp_parallel] )) ||' >> ${DESTDIR}${zshcompletion}
+ echo ' eval "$$(parallel --shell-completion auto)" &&' >> ${DESTDIR}${zshcompletion}
+ echo ' _comp_parallel' >> ${DESTDIR}${zshcompletion}
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,6 +1,6 @@
# Template file for 'parallel'
pkgname=parallel
version=20220522
version=20220622
revision=1
build_style=gnu-configure
depends="perl"
@ -10,9 +10,9 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/parallel/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=bb6395f8d964e68f3bdb26a764d3c48b69bc5b759a92ac3ab2bd1895c7fa8c1f
checksum=a4bd15a8f53b20fd19b0b41b26206527c07a1dda28a7891d5253d856fe5fd5a0
pre_configure() {
# no html and pdf doc
sed -i -e '/^all-am:/s,$(DATA),,;/^install-data-am:/s,install-docDATA,,' src/Makefile.in
vsed -i -e '/^all-am:/s,$(DATA),,;/^install-data-am:/s,install-docDATA,,' src/Makefile.in
}