remove static libraries

ledoian
Allan McRae 11 years ago
parent a648d2d481
commit dcdacb5a77

@ -3,7 +3,7 @@
pkgname=ncurses pkgname=ncurses
pkgver=5.9 pkgver=5.9
pkgrel=5 pkgrel=6
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://www.gnu.org/software/ncurses/" url="http://www.gnu.org/software/ncurses/"
@ -39,9 +39,7 @@ package() {
# fool packages looking to link to non-wide-character ncurses libraries # fool packages looking to link to non-wide-character ncurses libraries
for lib in ncurses form panel menu; do for lib in ncurses form panel menu; do
echo "INPUT(-l${lib}w)" >${pkgdir}/usr/lib/lib${lib}.so echo "INPUT(-l${lib}w)" >${pkgdir}/usr/lib/lib${lib}.so
ln -s lib${lib}w.a ${pkgdir}/usr/lib/lib${lib}.a
done done
ln -s libncurses++w.a ${pkgdir}/usr/lib/libncurses++.a
for lib in ncurses ncurses++ form panel menu; do for lib in ncurses ncurses++ form panel menu; do
ln -s ${lib}w.pc ${pkgdir}/usr/lib/pkgconfig/${lib}.pc ln -s ${lib}w.pc ${pkgdir}/usr/lib/pkgconfig/${lib}.pc
@ -50,8 +48,6 @@ package() {
# 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
ln -s libncursesw.a ${pkgdir}/usr/lib/libcursesw.a
ln -s libncurses.a ${pkgdir}/usr/lib/libcurses.a
# non-widec compatibility libraries # non-widec compatibility libraries
cd ${srcdir}/ncurses-build cd ${srcdir}/ncurses-build

Loading…
Cancel
Save