From 637c1cfdcd258a870ad5367cbf47a8a2799039c7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 18 Apr 2012 00:01:47 +0000 Subject: Wed Apr 18 00:01:47 UTC 2012 --- core/readline/PKGBUILD | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'core/readline') diff --git a/core/readline/PKGBUILD b/core/readline/PKGBUILD index fa21580c0..f54f18351 100644 --- a/core/readline/PKGBUILD +++ b/core/readline/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 143254 2011-11-24 01:36:28Z allan $ +# $Id: PKGBUILD 156214 2012-04-16 06:12:04Z allan $ # Maintainer: Allan McRae # Contributor: judd @@ -6,7 +6,7 @@ pkgname=readline _basever=6.2 _patchlevel=002 #prepare for some patches pkgver=$_basever.$_patchlevel -pkgrel=1 +pkgrel=2 pkgdesc="GNU readline library" arch=('i686' 'x86_64') url="http://tiswww.case.edu/php/chet/readline/rltop.html" @@ -43,7 +43,7 @@ build() { # build with -fPIC for x86_64 (FS#15634) [ $CARCH == "x86_64" ] && CFLAGS="$CFLAGS -fPIC" - ./configure --prefix=/usr --libdir=/lib + ./configure --prefix=/usr make SHLIB_LIBS=-lncurses } @@ -52,13 +52,4 @@ package() { make DESTDIR=${pkgdir} install install -Dm644 ${srcdir}/inputrc ${pkgdir}/etc/inputrc - - # FHS recommends only shared libs in /lib - install -dm755 $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 . } -- cgit v1.2.3-54-g00ecf