Re-add libncurses.so.5 for binary compatibility

All linking on Arch is still done the the wide character library
ledoian
Allan McRae 16 years ago
parent caa9e772d1
commit 2ca04fcd7d

@ -3,7 +3,7 @@
pkgname=ncurses pkgname=ncurses
pkgver=5.6 pkgver=5.6
pkgrel=7 pkgrel=8
pkgdesc="A System V Release 4.0 curses emulation library" pkgdesc="A System V Release 4.0 curses emulation library"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gnu.org/software/ncurses/ncurses.html" url="http://www.gnu.org/software/ncurses/ncurses.html"
@ -53,6 +53,15 @@ build() {
ln -sf libncursesw.a ${pkgdir}/usr/lib/libcursesw.a ln -sf libncursesw.a ${pkgdir}/usr/lib/libcursesw.a
ln -sf libncurses.a ${pkgdir}/usr/lib/libcurses.a ln -sf libncurses.a ${pkgdir}/usr/lib/libcurses.a
# Install libncurses.so.5 for external binary support
./configure --prefix=/usr \
--with-shared --with-normal --without-debug --without-ada \
--with-install-prefix=${pkgdir}
make || return 1
install -Dm755 lib/libncurses.so.5.6 ${pkgdir}/usr/lib/libncurses.so.5.6
ln -sf libncurses.so.5.6 ${pkgdir}/usr/lib/libncurses.so.5
# install license, rip it from the readme # install license, rip it from the readme
cd ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p ${pkgdir}/usr/share/licenses/$pkgname mkdir -p ${pkgdir}/usr/share/licenses/$pkgname

@ -1,9 +0,0 @@
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
echo ">> You can safely ignore any \"cannot open shared object\" errors you see above"
}
op=$1
shift
$op $*
Loading…
Cancel
Save