Browse Source

bash-completion: update to 2.9

emacs-27
Leonid Plyushch 6 years ago
parent
commit
015595b41c
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 4
      packages/bash-completion/build.sh
  2. 8
      packages/bash-completion/completions-man.patch

4
packages/bash-completion/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.8
TERMUX_PKG_SHA256=c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d
TERMUX_PKG_VERSION=2.9
TERMUX_PKG_SHA256=d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes

8
packages/bash-completion/completions-man.patch

@ -1,11 +1,11 @@
diff -u -r ../bash-completion-2.8/completions/man ./completions/man
--- ../bash-completion-2.8/completions/man 2018-03-17 01:02:23.000000000 +0100
+++ ./completions/man 2018-05-13 01:31:56.406265511 +0200
diff -uNr bash-completion-2.9/completions/man bash-completion-2.9.mod/completions/man
--- bash-completion-2.9/completions/man 2019-04-27 11:54:49.000000000 +0300
+++ bash-completion-2.9.mod/completions/man 2019-05-02 15:36:06.454990217 +0300
@@ -51,8 +51,7 @@
return
fi
- local manpath=$( manpath 2>/dev/null || command man -w 2>/dev/null )
- local manpath=$(manpath 2>/dev/null || command man -w 2>/dev/null)
- [[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man"
+ local manpath="@TERMUX_PREFIX@/share/man"

Loading…
Cancel
Save