mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
* Fix completion of "pkgman install" for local files. * Should avoid issues with future updates of the `bash_completion` package (#8157). Albeit it requires that users first manually remove the old `/boot/system/settings/etc/profile.d/bash_completion.sh` file previous to the installation of this package version (then should work OK in the future).
69 lines
1.8 KiB
Bash
69 lines
1.8 KiB
Bash
SUMMARY="Tab-completion for the Bash shell"
|
|
DESCRIPTION="Since v2.04, bash has allowed you to intelligently program \
|
|
and extend its standard completion behavior to achieve complex command \
|
|
lines with just a few keystrokes. Imagine typing ssh [Tab] and being \
|
|
able to complete on hosts from your ~/.ssh/known_hosts files. Or typing \
|
|
man 3 str [Tab] and getting a list of all string handling functions in \
|
|
the UNIX manual. mount system: [Tab] would complete on all exported \
|
|
file-systems from the host called system, while make [Tab] would complete \
|
|
on all targets in Makefile. This project was conceived to produce \
|
|
programmable completion routines for the most common Linux/UNIX commands, \
|
|
reducing the amount of typing sysadmins and programmers need to do on \
|
|
a daily basis."
|
|
HOMEPAGE="https://github.com/scop/bash-completion"
|
|
COPYRIGHT="2006-2020 Debian Project"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/scop/bash-completion/releases/download/$portVersion/bash-completion-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="5c7494f968280832d6adb5aa19f745a56f1a79df311e59338c5efa6f7285e168"
|
|
SOURCE_DIR="bash-completion-$portVersion"
|
|
PATCHES="bash_completion-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/etc/bash_completion.d directory keep-old
|
|
settings/etc/profile.d/bash_completion.sh auto-merge # doesn't work, sadly.
|
|
"
|
|
USER_SETTINGS_FILES="
|
|
settings/etc/bash_completion.d directory
|
|
settings/etc/profile.d/bash_completion.sh
|
|
"
|
|
|
|
PROVIDES="
|
|
bash_completion = $portVersion
|
|
"
|
|
REQUIRES="
|
|
cmd:bash
|
|
"
|
|
BUILD_REQUIRES="
|
|
cmd:bash
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:bash
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -i
|
|
runConfigure --omit-dirs sysconfdir \
|
|
./configure --sysconfdir=$settingsDir/etc
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
#TEST()
|
|
#{
|
|
# make check
|
|
#}
|