diff options
Diffstat (limited to 'abs/core-testing/readline')
-rw-r--r-- | abs/core-testing/readline/PKGBUILD | 56 | ||||
-rw-r--r-- | abs/core-testing/readline/inputrc | 40 | ||||
-rw-r--r-- | abs/core-testing/readline/readline.install | 22 |
3 files changed, 0 insertions, 118 deletions
diff --git a/abs/core-testing/readline/PKGBUILD b/abs/core-testing/readline/PKGBUILD deleted file mode 100644 index 489b22f..0000000 --- a/abs/core-testing/readline/PKGBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# $Id: PKGBUILD 82724 2010-06-16 04:51:23Z allan $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Contributor: judd <jvinet@zeroflux.org> - -pkgname=readline -_patchlevel=002 #prepare for some patches -pkgver=6.1.$_patchlevel -pkgrel=1 -pkgdesc="GNU readline library" -arch=(i686 x86_64) -url="http://tiswww.case.edu/php/chet/readline/rltop.html" -license=('GPL') -depends=('glibc' 'ncurses') -backup=("etc/inputrc") -source=(http://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz - inputrc) -if [ $_patchlevel -gt 00 ]; then - for (( p=1; p<=$_patchlevel; p++ )); do - source=(${source[@]} http://ftp.gnu.org/gnu/readline/readline-6.1-patches/readline61-$(printf "%03d" $p)) - done -fi -md5sums=('fc2f7e714fe792db1ce6ddc4c9fb4ef3' - 'e5fc955f56d9fa5beb871f3279b8fa8b' - 'c642f2e84d820884b0bf9fd176bc6c3f' - '1a76781a1ea734e831588285db7ec9b1') - -build() { - cd ${srcdir}/${pkgname}-6.1 - for p in ../readline61-*; do - [ -e "$p" ] || continue - msg "applying patch ${p}" - patch -Np0 -i ${p} || return 1 - done - - # Remove RPATH from shared objects (FS#14366) - sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf - - # build with -fPIC for x86_64 (FS#15634) - [ $CARCH == "x86_64" ] && CFLAGS="$CFLAGS -fPIC" - - ./configure --prefix=/usr --libdir=/lib \ - --mandir=/usr/share/man --infodir=/usr/share/info - make SHLIB_LIBS=-lncurses || return 1 - make DESTDIR=${pkgdir} install || return 1 - - mkdir -p ${pkgdir}/etc - install -m644 ../inputrc ${pkgdir}/etc/inputrc || return 1 - #FHS recommends only shared libs in /lib - mkdir -p $pkgdir/usr/lib - mv $pkgdir/lib/*.a $pkgdir/usr/lib - - # to make the linker find the shared lib and fix compile issues - cd ${pkgdir}/usr/lib - ln -sv /lib/libreadline.so . - ln -sv /lib/libhistory.so . -} diff --git a/abs/core-testing/readline/inputrc b/abs/core-testing/readline/inputrc deleted file mode 100644 index 6ad9dd9..0000000 --- a/abs/core-testing/readline/inputrc +++ /dev/null @@ -1,40 +0,0 @@ -# do not bell on tab-completion -#set bell-style none - -set meta-flag on -set input-meta on -set convert-meta off -set output-meta 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 - -# Include user-specific configuration -$include ~/.inputrc - diff --git a/abs/core-testing/readline/readline.install b/abs/core-testing/readline/readline.install deleted file mode 100644 index 0d40c51..0000000 --- a/abs/core-testing/readline/readline.install +++ /dev/null @@ -1,22 +0,0 @@ -infodir=/usr/share/info -filelist=(history.info readline.info rluserman.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 - echo ">> You can safely ignore any \"cannot open shared object\" errors you see above" -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - |