local LUA=$(installed_version lua)

if is_depends_enabled $SPELL oniguruma; then
  install -vm 755 src/oniguruma/*.so* "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}"
fi &&

install -vm 755 src/{pcre,posix}/*.so* "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}"
