35 lines
935 B
Text
Executable file
35 lines
935 B
Text
Executable file
APP=bash-completion
|
|
VERSION=2.11
|
|
BUILD=1sml
|
|
HOMEPAGE='https://github.com/scop/bash-completion'
|
|
DOWNLOAD='https://github.com/scop/bash-completion/archive/refs/tags/2.11.tar.gz'
|
|
REQUIRES="bash"
|
|
DESC="Programmable completion for the bash shell"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z**
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
# Thank you slackware
|
|
patch -p1 < $SRCDIR/fixup-sh-script-completions.diff
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp COPYING $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
551638e4b97be74ec97624bb9b952dd093a0f6b41f85932efc6a2b914d3a58a9e34b3efd0f4f49ed20fc089e2c93cb0997a0017fefaa7aa3b78d83878d58eda2 bash-completion-2.11.tar.lz
|
|
313db416a83f811d52ed7ea530a45851b34ed736eb119ff539127983f300cfd9d4fef95c5e134255f55b082e3f41e9129f48eb85d81c87e8321b735d4d83a483 fixup-sh-script-completions.diff
|
|
"
|