diff options
Diffstat (limited to 'abs/core/readline/PKGBUILD')
-rw-r--r-- | abs/core/readline/PKGBUILD | 57 |
1 files changed, 17 insertions, 40 deletions
diff --git a/abs/core/readline/PKGBUILD b/abs/core/readline/PKGBUILD index 0eb9b8f..e4c7716 100644 --- a/abs/core/readline/PKGBUILD +++ b/abs/core/readline/PKGBUILD @@ -1,59 +1,36 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 25790 2009-01-29 09:50:30Z allan $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=readline -pkgver=5.2 -pkgrel=16 +pkgver=5.2.013 +pkgrel=2 pkgdesc="GNU readline library" arch=(i686 x86_64) -url="ftp://ftp.cwru.edu/pub/bash/" +url="http://tiswww.case.edu/php/chet/readline/rltop.html" license=('GPL') groups=('base') -depends=(glibc ncurses) +depends=('glibc' 'ncurses') backup=("etc/inputrc") source=(ftp://ftp.cwru.edu/pub/bash/readline-${pkgver}.tar.gz - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-001 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-002 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-003 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-004 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-005 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-006 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-007 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-008 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-009 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-010 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-011 - ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches/readline52-012 - inputrc) -md5sums=('e39331f32ad14009b9ff49cc10c5e751' - '9d4d41622aa9b230c57f68548ce87d8f' - 'f03e512d14206e37f7d6a748b56b9476' - '252b42d8750f1a94b6bdf086612dceb2' - 'a32333c2e603a3ed250514e91050e552' - '8106796c09b789523a3a78ab69c04b6d' - '512188e2bf0837f7eca19dbf71f182ae' - 'ac17aca62eb6fb398c9f2fe9de540aff' - '2484c392db021905f112cf97a94dfd4c' - 'fc6eb35d07914fae5c57d49c12483ff7' - '7a2bf3dc7ac7680b1461a5701100e91b' - 'ef6cef6822663470f6ac8c517c5a7ec6' - 'e3e9f441c8111589855bc363e5640f6c' + inputrc) +md5sums=('07666d8dabefdfc7fb328b14cd6ce843' 'e5fc955f56d9fa5beb871f3279b8fa8b') build() { cd ${startdir}/src/${pkgname}-${pkgver} - for i in 001 002 003 004 005 006 007 008 009 010 011 012; do - patch -Np2 -i ${startdir}/src/readline52-${i} || return 1 - done - ./configure --prefix=/usr + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info make SHLIB_LIBS=-lncurses || return 1 make DESTDIR=${startdir}/pkg install || return 1 mkdir -p ${startdir}/pkg/etc - install -m644 ../inputrc ${startdir}/pkg/etc/inputrc + install -m644 ../inputrc ${startdir}/pkg/etc/inputrc || return 1 cd ${startdir}/pkg mkdir -pv lib - mv -v usr/lib/lib{readline,history}.so.5* lib/ - ln -svf ../../lib/libreadline.so.5 usr/lib/libreadline.so - ln -svf ../../lib/libhistory.so.5 usr/lib/libhistory.so + mv -v usr/lib/lib{readline,history}.so.5* lib/ || return 1 + ln -svf ../../lib/libreadline.so.5 usr/lib/libreadline.so || return 1 + ln -svf ../../lib/libhistory.so.5 usr/lib/libhistory.so || return 1 + + rm -f ${pkgdir}/usr/share/info/dir } |