[arch-commits] Commit in readline/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Wed Apr 11 00:44:02 EDT 2012


    Date: Wednesday, April 11, 2012 @ 00:44:02
  Author: allan
Revision: 156000

upgpkg: readline 6.2.002-2

move libraries to /usr/lib

Modified:
  readline/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-11 04:34:58 UTC (rev 155999)
+++ PKGBUILD	2012-04-11 04:44:02 UTC (rev 156000)
@@ -6,7 +6,7 @@
 _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 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 @@
   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 .
 }



More information about the arch-commits mailing list