mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 08:40:10 -07:00
22 lines
373 B
Bash
Executable File
22 lines
373 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
for patch in bash50-0??; do
|
|
patch -p0 < "$patch"
|
|
done
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--without-bash-malloc \
|
|
--without-installed-readline \
|
|
--disable-nls
|
|
|
|
MAKEFLAGS="TERMCAP_LIB=/usr/lib/libncursesw.a $MAKEFLAGS"
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Remove all info files.
|
|
rm -rf "$1/usr/share/info"
|
|
|
|
# Remove docs.
|
|
rm -rf "$1/usr/share/doc"
|