pakur.sh 359 B

1234567891011
  1. toollib=""
  2. [ -d /tools ] && toollib="-L/tools/lib"
  3. make SHLIB_LIBS="$toollib -lncursesw" DESTDIR=$PKG install
  4. chmod -v u+w $PKG/usr/lib/lib{readline,history}.so.*
  5. ln -sfv /usr/lib/libreadline.so.8.1 $PKG/usr/lib/libreadline.so
  6. ln -sfv /usr/lib/libhistory.so.8.1 $PKG/usr/lib/libhistory.so
  7. rm -rvf $PKG/usr/bin
  8. install -Dm644 $SRC/inputrc "$PKG"/etc/inputrc