diff --git a/PKGBUILD b/PKGBUILD index 904e73d..bafa523 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ncurses pkgver=5.6 -pkgrel=7 +pkgrel=8 pkgdesc="A System V Release 4.0 curses emulation library" arch=('i686' 'x86_64') 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 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 cd ${srcdir}/${pkgname}-${pkgver} mkdir -p ${pkgdir}/usr/share/licenses/$pkgname diff --git a/ncurses.install b/ncurses.install deleted file mode 100644 index 6b5a1dc..0000000 --- a/ncurses.install +++ /dev/null @@ -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 $*