|
|
@ -5,7 +5,7 @@
|
|
|
|
pkgname=ncurses
|
|
|
|
pkgname=ncurses
|
|
|
|
_pkgver=6.0-20170902
|
|
|
|
_pkgver=6.0-20170902
|
|
|
|
pkgver=${_pkgver/-/+}
|
|
|
|
pkgver=${_pkgver/-/+}
|
|
|
|
pkgrel=2
|
|
|
|
pkgrel=3
|
|
|
|
pkgdesc='System V Release 4.0 curses emulation library'
|
|
|
|
pkgdesc='System V Release 4.0 curses emulation library'
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url='http://invisible-island.net/ncurses/ncurses.html'
|
|
|
|
url='http://invisible-island.net/ncurses/ncurses.html'
|
|
|
@ -38,6 +38,10 @@ package() {
|
|
|
|
ln -s ${lib}w.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
|
|
|
|
ln -s ${lib}w.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# don't require -ltinfo when linking with --no-add-needed
|
|
|
|
|
|
|
|
rm -f "$pkgdir/usr/lib/libncursesw.so"
|
|
|
|
|
|
|
|
echo "INPUT(libncursesw.so.${pkgver:0:1} -ltinfo)" > "$pkgdir/usr/lib/libncursesw.so"
|
|
|
|
|
|
|
|
|
|
|
|
# some packages look for -lcurses during build
|
|
|
|
# some packages look for -lcurses during build
|
|
|
|
echo "INPUT(-lncursesw)" > "$pkgdir/usr/lib/libcursesw.so"
|
|
|
|
echo "INPUT(-lncursesw)" > "$pkgdir/usr/lib/libcursesw.so"
|
|
|
|
ln -s libncurses.so "$pkgdir/usr/lib/libcurses.so"
|
|
|
|
ln -s libncurses.so "$pkgdir/usr/lib/libcurses.so"
|
|
|
|