summaryrefslogtreecommitdiff
path: root/core/readline/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
commit637c1cfdcd258a870ad5367cbf47a8a2799039c7 (patch)
tree04dabe84f2527ce4ef85b0905f186ebb93cacdb9 /core/readline/PKGBUILD
parent0fb510ac9b1defac6c3d54a68eccd7e18635b474 (diff)
Wed Apr 18 00:01:47 UTC 2012
Diffstat (limited to 'core/readline/PKGBUILD')
-rw-r--r--core/readline/PKGBUILD15
1 files changed, 3 insertions, 12 deletions
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 <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -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 .
}