add new packages

This commit is contained in:
aliriza committed 2022-11-02 05:49:39 +00:00
1 parent 17aaa478c3
commit e171edf110
6 files changed
+842

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
# do not bell on tab-completion
#set bell-style none
set colored-stats On
set completion-ignore-case On
set completion-prefix-display-length 3
set mark-symlinked-directories On
set show-all-if-ambiguous On
set show-all-if-unmodified On
set visible-stats On
set colored-completion-prefix on
set mark-modified-lines on
set menu-complete-display-prefix on
$if mode=emacs
# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[7~": beginning-of-line
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# for rxvt
"\e[8~": end-of-line
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line
# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
name=readline
version=8.1
release=1
source=(https://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
md5sums=(e9557dd5b1409f5d7b37ef717c64518e)
depends=(glibc)
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/lib
}
build(){
make SHLIB_LIBS="-L/tools/lib -lncursesw"
}
package(){
make SHLIB_LIBS="-L/tools/lib -lncursesw" DESTDIR="$DESTDIR" install
install -Dm644 ../inputrc "$DESTDIR"/etc/inputrc
}